pgsql-server/src/backend/access/transam xlog.c

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql-server/src/backend/access/transam xlog.c
Дата
Msg-id 20030125030605.0528B475DBD@postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql-server/src/backend/utils/adt acl.c
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql-server/ /configure /configure.in rc/back ...