
From: Massimo Dal Zotto <dz@cs.unitn.it>

After some playing with gdb I found that in printtup() there is a non null
attribute with typeinfo->attrs[i]->atttypid = 0 (invalid oid). Unfortunately
attibutes with invalid type are neither printed nor marked as null, and this
explains why psql doesn't get all the expected data.

So I made this patch to printtup():

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