pgsql: Fix a race condition that caused pg_database_size() and - Mailing list pgsql-committers

From [email protected] (Alvaro Herrera)
Subject pgsql: Fix a race condition that caused pg_database_size() and
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix a race condition that caused pg_database_size() and pg_tablespace_size()
to fail if an object was removed between calls to ReadDir() and stat().
Per discussion in pgsql-hackers.

http://archives.postgresql.org/pgsql-hackers/2007-03/msg00671.php

Bug report and patch by Michael Fuhr.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        dbsize.c (r1.11 -> r1.12)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/dbsize.c.diff?r1=1.11&r2=1.12)

pgsql-committers by date:

Previous
From: [email protected] (User Eggyknap)
Date:
Subject: pgsnmpd - pgsnmpd: Remove rdbmsDbInfoTable_data_set.[ch], as they're
Next
From: [email protected] (User Eggyknap)
Date:
Subject: pgsnmpd - pgsnmpd: * Comment out bunches of the old MIB in pgsnmpd.c.