pgstat's truncation of query string needs to be multibyte-aware. Patch from sugita@sra.co.jp.
pgstat's truncation of query string needs to be multibyte-aware.
Patch from sugita@sra.co.jp.

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