    the  following  patch fixes a bug in the oracle compatibility     functions btrim() ltrim() and rtrim().
    the  following  patch fixes a bug in the oracle compatibility
    functions btrim() ltrim() and rtrim().

    The error was that the character after the set  was  included
    in the tests (ptr2 pointed to the character after the vardata
    part of set if no match found,  so  comparing  *ptr  or  *end
    against *ptr2 MAY match -> strip).


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being
right. # # Let's break this rule - forgive me.
# #======================================== jwieck@debis.com (Jan
Wieck) #

50wu/gpdb,kaknikhil/gpdb,lisakowen/gpdb,kaknikhil/gpdb,royc1/gpdb,lpetrov-pivotal/gpdb,janebeckman/gpdb,edespino/gpdb,edespino/gpdb,lpetrov-pivotal/gpdb,adam8157/gpdb,zeroae/postgres-xl,randomtask1155/gpdb,zeroae/postgres-xl,tangp3/gpdb,lintzc/gpdb,snaga/postgres-xl,chrishajas/gpdb,xuegang/gpdb,cjcjameson/gpdb,tpostgres-projects/tPostgres,Quikling/gpdb,edespino/gpdb,randomtask1155/gpdb,lintzc/gpdb,pavanvd/postgres-xl,jmcatamney/gpdb,foyzur/gpdb,atris/gpdb,yuanzhao/gpdb,atris/gpdb,royc1/gpdb,0x0FFF/gpdb,tangp3/gpdb,lpetrov-pivotal/gpdb,cjcjameson/gpdb,xinzweb/gpdb,edespino/gpdb,yuanzhao/gpdb,postmind-net/postgres-xl,xinzweb/gpdb,greenplum-db/gpdb,Postgres-XL/Postgres-XL,foyzur/gpdb,rubikloud/gpdb,arcivanov/postgres-xl,pavanvd/postgres-xl,postmind-net/postgres-xl,xuegang/gpdb,rubikloud/gpdb,yuanzhao/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,royc1/gpdb,yuanzhao/gpdb,lpetrov-pivotal/gpdb,lintzc/gpdb,royc1/gpdb,edespino/gpdb,xuegang/gpdb,techdragon/Postgres-XL,adam8157/gpdb,janebeckman/gpdb,randomtask1155/gpdb,foyzur/gpdb,royc1/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,Chibin/gpdb,royc1/gpdb,ashwinstar/gpdb,chrishajas/gpdb,greenplum-db/gpdb,randomtask1155/gpdb,yazun/postgres-xl,oberstet/postgres-xl,chrishajas/gpdb,ovr/postgres-xl,kaknikhil/gpdb,greenplum-db/gpdb,janebeckman/gpdb,cjcjameson/gpdb,ahachete/gpdb,snaga/postgres-xl,kmjungersen/PostgresXL,ashwinstar/gpdb,ahachete/gpdb,foyzur/gpdb,pavanvd/postgres-xl,ashwinstar/gpdb,yazun/postgres-xl,ovr/postgres-xl,greenplum-db/gpdb,randomtask1155/gpdb,xuegang/gpdb,chrishajas/gpdb,zaksoup/gpdb,ashwinstar/gpdb,rvs/gpdb,snaga/postgres-xl,Quikling/gpdb,techdragon/Postgres-XL,Quikling/gpdb,0x0FFF/gpdb,Chibin/gpdb,arcivanov/postgres-xl,ahachete/gpdb,50wu/gpdb,ahachete/gpdb,kaknikhil/gpdb,CraigHarris/gpdb,ovr/postgres-xl,kaknikhil/gpdb,greenplum-db/gpdb,janebeckman/gpdb,tpostgres-projects/tPostgres,cjcjameson/gpdb,snaga/postgres-xl,Quikling/gpdb,royc1/gpdb,lpetrov-pivotal/gpdb,adam8157/gpdb,rvs/gpdb,rvs/gpdb,xuegang/gpdb,greenplum-db/gpdb,ashwinstar/gpdb,tpostgres-projects/tPostgres,xuegang/gpdb,CraigHarris/gpdb,0x0FFF/gpdb,foyzur/gpdb,rvs/gpdb,adam8157/gpdb,Quikling/gpdb,yuanzhao/gpdb,snaga/postgres-xl,kaknikhil/gpdb,greenplum-db/gpdb,postmind-net/postgres-xl,lisakowen/gpdb,Quikling/gpdb,foyzur/gpdb,oberstet/postgres-xl,oberstet/postgres-xl,ahachete/gpdb,janebeckman/gpdb,randomtask1155/gpdb,cjcjameson/gpdb,oberstet/postgres-xl,tangp3/gpdb,atris/gpdb,cjcjameson/gpdb,tangp3/gpdb,lisakowen/gpdb,zeroae/postgres-xl,ovr/postgres-xl,rvs/gpdb,chrishajas/gpdb,50wu/gpdb,atris/gpdb,xuegang/gpdb,zaksoup/gpdb,Chibin/gpdb,0x0FFF/gpdb,CraigHarris/gpdb,kaknikhil/gpdb,lisakowen/gpdb,zaksoup/gpdb,yuanzhao/gpdb,yuanzhao/gpdb,lintzc/gpdb,atris/gpdb,foyzur/gpdb,xinzweb/gpdb,pavanvd/postgres-xl,Chibin/gpdb,ashwinstar/gpdb,Chibin/gpdb,yuanzhao/gpdb,randomtask1155/gpdb,atris/gpdb,rvs/gpdb,ovr/postgres-xl,techdragon/Postgres-XL,arcivanov/postgres-xl,arcivanov/postgres-xl,techdragon/Postgres-XL,CraigHarris/gpdb,yazun/postgres-xl,lisakowen/gpdb,rubikloud/gpdb,yazun/postgres-xl,rubikloud/gpdb,zaksoup/gpdb,lintzc/gpdb,atris/gpdb,kmjungersen/PostgresXL,zaksoup/gpdb,tangp3/gpdb,jmcatamney/gpdb,50wu/gpdb,Chibin/gpdb,kaknikhil/gpdb,50wu/gpdb,zaksoup/gpdb,chrishajas/gpdb,arcivanov/postgres-xl,xinzweb/gpdb,lintzc/gpdb,pavanvd/postgres-xl,adam8157/gpdb,Quikling/gpdb,royc1/gpdb,lisakowen/gpdb,edespino/gpdb,janebeckman/gpdb,postmind-net/postgres-xl,tangp3/gpdb,yazun/postgres-xl,rvs/gpdb,edespino/gpdb,xinzweb/gpdb,xinzweb/gpdb,rvs/gpdb,yuanzhao/gpdb,randomtask1155/gpdb,adam8157/gpdb,ahachete/gpdb,techdragon/Postgres-XL,ahachete/gpdb,rvs/gpdb,50wu/gpdb,lpetrov-pivotal/gpdb,rubikloud/gpdb,edespino/gpdb,zeroae/postgres-xl,edespino/gpdb,CraigHarris/gpdb,Chibin/gpdb,Quikling/gpdb,rubikloud/gpdb,lintzc/gpdb,xuegang/gpdb,0x0FFF/gpdb,adam8157/gpdb,CraigHarris/gpdb,lisakowen/gpdb,0x0FFF/gpdb,janebeckman/gpdb,zeroae/postgres-xl,CraigHarris/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,Postgres-XL/Postgres-XL,chrishajas/gpdb,jmcatamney/gpdb,atris/gpdb,jmcatamney/gpdb,rubikloud/gpdb,Quikling/gpdb,0x0FFF/gpdb,cjcjameson/gpdb,greenplum-db/gpdb,CraigHarris/gpdb,ahachete/gpdb,tangp3/gpdb,xuegang/gpdb,edespino/gpdb,xinzweb/gpdb,tangp3/gpdb,Chibin/gpdb,zaksoup/gpdb,jmcatamney/gpdb,50wu/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,50wu/gpdb,Postgres-XL/Postgres-XL,oberstet/postgres-xl,lpetrov-pivotal/gpdb,Postgres-XL/Postgres-XL,tpostgres-projects/tPostgres,adam8157/gpdb,Chibin/gpdb,Quikling/gpdb,arcivanov/postgres-xl,jmcatamney/gpdb,CraigHarris/gpdb,tpostgres-projects/tPostgres,janebeckman/gpdb,zaksoup/gpdb,janebeckman/gpdb,Chibin/gpdb,foyzur/gpdb,chrishajas/gpdb,cjcjameson/gpdb,lpetrov-pivotal/gpdb,rvs/gpdb,kmjungersen/PostgresXL,Postgres-XL/Postgres-XL,xinzweb/gpdb,kmjungersen/PostgresXL,rubikloud/gpdb,kmjungersen/PostgresXL,janebeckman/gpdb,lintzc/gpdb,jmcatamney/gpdb,lisakowen/gpdb,postmind-net/postgres-xl,lintzc/gpdb,0x0FFF/gpdb