Re: basic_archive lost archive_directory

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: basic_archive lost archive_directory
Дата
Msg-id aYpYaRipZ_-lYxNY@nathan
обсуждение исходный текст
Ответ на Re: basic_archive lost archive_directory  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: basic_archive lost archive_directory
Список pgsql-bugs
On Tue, Feb 10, 2026 at 02:46:39AM +0900, Fujii Masao wrote:
> basic_archive is usually loaded only by the archiver via archive_library.
> In that case, errors reported by check_archive_directory() are not logged
> by default, since GUC check hook errors are normally emitted only by
> the postmaster. As a result, misconfigurations (e.g., a non-existent
> archive_directory) may go unnoticed, which is problematic for users.

I don't think this is true.  With default parameters, I see the following
in my logs with a misconfigured archive directory setting:

2026-02-09 15:53:10.372 CST [12803] WARNING:  invalid value for parameter "basic_archive.archive_directory":
"/does/not/exist"
2026-02-09 15:53:10.372 CST [12803] DETAIL:  Specified archive directory does not exist.

-- 
nathan



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