Bruce Momjian <pgman@candle.pha.pa.us> writes: > OK, add #include <stdio.h> to the file.  That should fix it.
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> OK, add #include <stdio.h> to the file.  That should fix it.

Seems unlikely, since libpq-fe.h already includes <stdio.h>.

The real problem here is that the code is wrong: it's passing NULL
to an int parameter.

                        regards, tom lane

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