pgsql-server/ ontrib/dbsize/Tag: ontrib/dbsize ... - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql-server/ ontrib/dbsize/Tag: ontrib/dbsize ...
Date
Msg-id 20040223230343.65487D1B9A9@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    04/02/23 19:03:43

Modified files:
    contrib/dbsize : Tag: REL7_4_STABLE dbsize.c
    src/backend/access/transam: Tag: REL7_4_STABLE slru.c xlog.c
    src/backend/storage/file: Tag: REL7_4_STABLE fd.c
    src/include/storage: Tag: REL7_4_STABLE fd.h
    src/port       : Tag: REL7_4_STABLE copydir.c

Log message:
    Replace opendir/closedir calls throughout the backend with AllocateDir
    and FreeDir routines modeled on the existing AllocateFile/FreeFile.
    Like the latter, these routines will avoid failing on EMFILE/ENFILE
    conditions whenever possible, and will prevent leakage of directory
    descriptors if an elog() occurs while one is open.
    Also, reduce PANIC to ERROR in MoveOfflineLogs() --- this is not
    critical code and there is no reason to force a DB restart on failure.
    All per recent trouble report from Olivier Hubaut.


pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql-server/ ontrib/dbsize/dbsize.c rc/backen ...
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql-server/src/include/catalog pg_statistic.h