Fix security problem with psql \e where temp file could be an existing symlink created by someone else, and therefore modifyable by someone else.
Fix security problem with psql \e where temp file could be an existing
symlink created by someone else, and therefore modifyable by someone else.

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