Re: Tighten error control for OpenTransientFile/CloseTransientFile

Поиск
Список
Период
Сортировка
От Georgios Kokolatos
Тема Re: Tighten error control for OpenTransientFile/CloseTransientFile
Дата
Msg-id 155188409238.16480.11082213460365887952.pgcf@coridan.postgresql.org
обсуждение исходный текст
Ответ на Re: Tighten error control for OpenTransientFile/CloseTransientFile  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Tighten error control for OpenTransientFile/CloseTransientFile
Список pgsql-hackers
Overall the patch looks good and according to the previous discussion fulfils its purpose.

It might be worthwhile to also check for errors on close in SaveSlotToPath().

        pgstat_report_wait_end();

        CloseTransientFile(fd);

        /* rename to permanent file, fsync file and directory */
        if (rename(tmppath, path) != 0)

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] CLUSTER command progress monitor
Следующее
От: "Karl O. Pinc"
Дата:
Сообщение: Re: Patch to document base64 encoding