pgsql-server/src/backend/access/transam xlog.c - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql-server/src/backend/access/transam xlog.c
Date
Msg-id 20030125030605.0528B475DBD@postgresql.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@postgresql.org    03/01/24 22:06:04

Modified files:
    src/backend/access/transam: xlog.c

Log message:
    Use stat(2) to probe for existing xlog segments in InstallXLogFileSegment,
    rather than actually opening the files.  This eliminates some corner cases
    where the file indeed exists but open() fails for another reason, such
    as being out of file descriptors.  The net reliability gain is probably
    tiny, since xlog.c is full of other file open calls that will elog(PANIC)
    if they fail for any reason; but this specific failure mode has been
    observed in the field, so we may as well fix it.


pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql-server/src/backend/utils/adt acl.c
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql-server/ /configure /configure.in rc/back ...