Suppress attempts to report dropped tables to the stats collector from a

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 21b54ed81a808199dba9f536fa101ff629def90b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-03-30T22:11:59Z
Releases: 8.1.4
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.

Files

PathChange+/−
src/backend/storage/smgr/smgr.c modified +9 −3