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

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

Commit: 4243f2387a762b26c8e6be5c8094425798d86ea3
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-03-30T22:11:55Z
Releases: 8.2.0
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