pgsql: basic_archive: Allow archive directory to be missing at startup.
В списке pgsql-committers по дате отправления:
| От | Nathan Bossart |
|---|---|
| Тема | pgsql: basic_archive: Allow archive directory to be missing at startup. |
| Дата | |
| Msg-id | E1vx8je-0022f4-2N@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
basic_archive: Allow archive directory to be missing at startup. Presently, the GUC check hook for basic_archive.archive_directory checks that the specified directory exists. Consequently, if the directory does not exist at server startup, archiving will be stuck indefinitely, even if it appears later. To fix, remove this check from the hook so that archiving will resume automatically once the directory is present. basic_archive must already be prepared to deal with the directory disappearing at any time, so no additional special handling is required. Reported-by: Олег Самойлов <splarv@ya.ru> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Reviewed-by: Fujii Masao <masao.fujii@gmail.com> Reviewed-by: Sergei Kornilov <sk@zsrv.org> Discussion: https://postgr.es/m/73271769675212%40mail.yandex.ru Backpatch-through: 15 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/cc774c543b23e91175642a65559aae456f17d89e Modified Files -------------- contrib/basic_archive/basic_archive.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера