Re: Allow some recovery parameters to be changed with reload

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Allow some recovery parameters to be changed with reload
Дата
Msg-id 20200809052149.GB17986@paquier.xyz
обсуждение исходный текст
Ответ на Re: Allow some recovery parameters to be changed with reload  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Allow some recovery parameters to be changed with reload
Список pgsql-hackers
On Wed, Aug 05, 2020 at 11:41:49AM -0400, Robert Haas wrote:
> On Sat, Mar 28, 2020 at 7:21 AM Sergei Kornilov <sk@zsrv.org> wrote:
>> So...
>> We call restore_command only when walreceiver is stopped.
>> We use restore_command only in startup process - so we have no race condition between processes.
>> We have some issues here? Or we can just make restore_command reloadable as attached?
>
> I don't see the problem here, either. Does anyone else see a problem,
> or some reason not to press forward with this?

Sorry for the late reply.  I have been looking at that stuff again,
and restore_command can be called in the context of a WAL sender
process within the page_read callback of logical decoding via
XLogReadDetermineTimeline(), as readTimeLineHistory() could look for a
timeline history file.  So restore_command is not used only in the
startup process.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: 回复:how to create index concurrently on partitioned table
Следующее
От: Asim Praveen
Дата:
Сообщение: Re: Unnecessary delay in streaming replication due to replay lag