The attached patch disallows the use of coldeflists for functions that don't return type RECORD. It also catches a core dump condition when a function returning RECORD had an alias list instead of a coldeflist.
The attached patch disallows the use of coldeflists for functions that
don't return type RECORD. It also catches a core dump condition when a
function returning RECORD had an alias list instead of a coldeflist.

Now both conditions throw an ERROR.

Joe Conway

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