pgsql: Suppress attempts to report dropped tables to the stats collector - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Suppress attempts to report dropped tables to the stats collector
Date
Msg-id 20060330221200.41B8C11F61D3@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/storage/smgr:
        smgr.c (r1.93.2.2 -> r1.93.2.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/smgr/smgr.c.diff?r1=1.93.2.2&r2=1.93.2.3)

pgsql-committers by date:

Previous
From: jwp@pgfoundry.org (James William Pye)
Date:
Subject: python - fe: Don't close the connection on __del__.
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Improve gist XLOG code to follow the coding rules needed to