Re: Improve the log message output of basic_archive when basic_archive.archive_directory parameter is not set

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: Improve the log message output of basic_archive when basic_archive.archive_directory parameter is not set
Дата
Msg-id 482056B1-D930-417C-9473-CB1A045E42AE@yesql.se
обсуждение исходный текст
Ответ на Re: Improve the log message output of basic_archive when basic_archive.archive_directory parameter is not set  (Nathan Bossart <nathandbossart@gmail.com>)
Ответы Re: Improve the log message output of basic_archive when basic_archive.archive_directory parameter is not set
Список pgsql-hackers
> On 26 Sep 2023, at 00:20, Nathan Bossart <nathandbossart@gmail.com> wrote:
>
> On Thu, Sep 21, 2023 at 11:18:00AM +0900, bt23nguyent wrote:
>> -basic_archive_configured(ArchiveModuleState *state)
>> +basic_archive_configured(ArchiveModuleState *state, char **logdetail)
>
> Could we do something more like GUC_check_errdetail() instead to maintain
> backward compatibility with v16?

We'd still need something exported to call into which isn't in 16, so it
wouldn't be more than optically backwards compatible since a module written for
17 won't compile for 16, or am I missing something?

--
Daniel Gustafsson




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