Clean up find_my_exec to work cleaner.
Clean up find_my_exec to work cleaner.

Add Win32 code to look in the current directory before the path.

Add code so memory is allocated using palloc in backend object files.

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