Suppress attempts to report dropped tables to the stats collector from a startup or recovery process.  Since such a process isn't a real backend, pgstat.c gets confused.  This accounts for recent reports of strange "invalid server process ID -1" log messages during crash recovery. There isn't any point in attempting to make the report, since we'll discard stats in such scenarios anyhow.
Suppress attempts to report dropped tables to the stats collector from a
startup or recovery process.  Since such a process isn't a real backend,
pgstat.c gets confused.  This accounts for recent reports of strange
"invalid server process ID -1" log messages during crash recovery.
There isn't any point in attempting to make the report, since we'll discard
stats in such scenarios anyhow.

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