Fix one-byte buffer overrun in PQprintTuples().
Fix one-byte buffer overrun in PQprintTuples().

This bug goes back to the original Postgres95 sources.  Its significance
to modern PG versions is marginal, since we have not used PQprintTuples()
internally in a very long time, and it doesn't seem to have ever been
documented either.  Still, it *is* exposed to client apps, so somebody
out there might possibly be using it.

Xi Wang

xuegang/gpdb,chrishajas/gpdb,jmcatamney/gpdb,yuanzhao/gpdb,ahachete/gpdb,Quikling/gpdb,kaknikhil/gpdb,janebeckman/gpdb,ashwinstar/gpdb,royc1/gpdb,rvs/gpdb,ashwinstar/gpdb,royc1/gpdb,xinzweb/gpdb,janebeckman/gpdb,cjcjameson/gpdb,lisakowen/gpdb,Chibin/gpdb,Chibin/gpdb,jmcatamney/gpdb,adam8157/gpdb,rvs/gpdb,ahachete/gpdb,lintzc/gpdb,edespino/gpdb,edespino/gpdb,ahachete/gpdb,0x0FFF/gpdb,adam8157/gpdb,ahachete/gpdb,zaksoup/gpdb,Quikling/gpdb,janebeckman/gpdb,lintzc/gpdb,lisakowen/gpdb,adam8157/gpdb,janebeckman/gpdb,CraigHarris/gpdb,CraigHarris/gpdb,edespino/gpdb,kaknikhil/gpdb,greenplum-db/gpdb,rvs/gpdb,zaksoup/gpdb,xuegang/gpdb,edespino/gpdb,royc1/gpdb,xinzweb/gpdb,ashwinstar/gpdb,xinzweb/gpdb,yuanzhao/gpdb,CraigHarris/gpdb,CraigHarris/gpdb,xuegang/gpdb,ashwinstar/gpdb,Quikling/gpdb,royc1/gpdb,rvs/gpdb,Chibin/gpdb,ashwinstar/gpdb,Quikling/gpdb,jmcatamney/gpdb,greenplum-db/gpdb,greenplum-db/gpdb,0x0FFF/gpdb,kaknikhil/gpdb,royc1/gpdb,lintzc/gpdb,50wu/gpdb,royc1/gpdb,janebeckman/gpdb,zaksoup/gpdb,yuanzhao/gpdb,xinzweb/gpdb,xuegang/gpdb,adam8157/gpdb,50wu/gpdb,chrishajas/gpdb,Chibin/gpdb,zaksoup/gpdb,kaknikhil/gpdb,greenplum-db/gpdb,ahachete/gpdb,cjcjameson/gpdb,yuanzhao/gpdb,chrishajas/gpdb,edespino/gpdb,Quikling/gpdb,jmcatamney/gpdb,edespino/gpdb,xinzweb/gpdb,chrishajas/gpdb,cjcjameson/gpdb,chrishajas/gpdb,rvs/gpdb,adam8157/gpdb,yuanzhao/gpdb,Quikling/gpdb,ashwinstar/gpdb,Chibin/gpdb,yuanzhao/gpdb,yuanzhao/gpdb,0x0FFF/gpdb,lintzc/gpdb,zaksoup/gpdb,Quikling/gpdb,royc1/gpdb,royc1/gpdb,50wu/gpdb,ahachete/gpdb,edespino/gpdb,greenplum-db/gpdb,Chibin/gpdb,lisakowen/gpdb,xuegang/gpdb,edespino/gpdb,Chibin/gpdb,chrishajas/gpdb,0x0FFF/gpdb,kaknikhil/gpdb,Chibin/gpdb,ahachete/gpdb,ahachete/gpdb,lintzc/gpdb,0x0FFF/gpdb,lintzc/gpdb,Quikling/gpdb,Quikling/gpdb,greenplum-db/gpdb,50wu/gpdb,lisakowen/gpdb,0x0FFF/gpdb,zaksoup/gpdb,50wu/gpdb,xinzweb/gpdb,edespino/gpdb,xinzweb/gpdb,greenplum-db/gpdb,xinzweb/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,rvs/gpdb,janebeckman/gpdb,yuanzhao/gpdb,greenplum-db/gpdb,CraigHarris/gpdb,jmcatamney/gpdb,rvs/gpdb,cjcjameson/gpdb,50wu/gpdb,chrishajas/gpdb,CraigHarris/gpdb,zaksoup/gpdb,Chibin/gpdb,edespino/gpdb,CraigHarris/gpdb,rvs/gpdb,jmcatamney/gpdb,0x0FFF/gpdb,zaksoup/gpdb,CraigHarris/gpdb,lisakowen/gpdb,cjcjameson/gpdb,janebeckman/gpdb,rvs/gpdb,cjcjameson/gpdb,rvs/gpdb,cjcjameson/gpdb,lintzc/gpdb,0x0FFF/gpdb,adam8157/gpdb,Chibin/gpdb,kaknikhil/gpdb,yuanzhao/gpdb,xuegang/gpdb,xuegang/gpdb,jmcatamney/gpdb,lisakowen/gpdb,chrishajas/gpdb,lintzc/gpdb,ashwinstar/gpdb,adam8157/gpdb,yuanzhao/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,xuegang/gpdb,50wu/gpdb,cjcjameson/gpdb,lisakowen/gpdb,lisakowen/gpdb,kaknikhil/gpdb,adam8157/gpdb,50wu/gpdb,kaknikhil/gpdb,CraigHarris/gpdb,Quikling/gpdb,janebeckman/gpdb,cjcjameson/gpdb,xuegang/gpdb,janebeckman/gpdb,janebeckman/gpdb,kaknikhil/gpdb,lintzc/gpdb