Seems my check constraint change did break stuff.
Seems my check constraint change did break stuff.

Alias the appropriate columns back to their original name.

Fixed formatting of a few other places as I went along (indenting)
--
Rod Taylor <rbt@rbt.ca>

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