Another minor tweak to psql startup: set the default values for the PROMPT1, PROMPT2 and PROMPT3 variables before we read any of the settings specified via the user on the command-line or in psqlrc, so that the latter can override the former. Per original patch from Ingo van Lil, simpler fix suggested by Tom Lane.
Another minor tweak to psql startup: set the default values for the PROMPT1,
PROMPT2 and PROMPT3 variables before we read any of the settings specified
via the user on the command-line or in psqlrc, so that the latter can
override the former. Per original patch from Ingo van Lil, simpler fix
suggested by Tom Lane.

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