This is another example of why not allowing utility functions in SPI would be a Bad Thing.
This is another example of why not allowing utility functions in SPI
would be a Bad Thing.

For what it's worth, I found another case in libpq where you can get a T
message without a D that my utility patch needs to handle.  I have
attached
the updated patch against the 6.4.2 version of
src/interfaces/libpq/fe-exec.c

Jerry Gay

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