]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Suppress attempts to report dropped tables to the stats collector from a
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 30 Mar 2006 22:11:59 +0000 (22:11 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 30 Mar 2006 22:11:59 +0000 (22:11 +0000)
commit21b54ed81a808199dba9f536fa101ff629def90b
tree57a35a7df0ccead3be5775125f6401cdfed6fa18
parentc119cdcab0af13bd9440271811265db7a8dba0db
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.
src/backend/storage/smgr/smgr.c