Re: pg_rewind: Skip log directory for file type check like pg_wal

Поиск
Список
Период
Сортировка
От Soumyadeep Chakraborty
Тема Re: pg_rewind: Skip log directory for file type check like pg_wal
Дата
Msg-id CAE-ML+-FK1c=Q=J7_kzrTuZ9OjMbz=9eE8EDYsOZxOky6hmruQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_rewind: Skip log directory for file type check like pg_wal  (Alexander Kukushkin <cyberdemn@gmail.com>)
Ответы Re: pg_rewind: Skip log directory for file type check like pg_wal  (Alexander Kukushkin <cyberdemn@gmail.com>)
Список pgsql-hackers
On Mon, Mar 6, 2023 at 11:33 PM Alexander Kukushkin <cyberdemn@gmail.com> wrote:
>
>
> Lets assume that on the source we have "pg_log" and on the target we have "my_log" (they are configured using
"log_directory"GUC). 
> When doing rewind in this case we want neither to remove the content of "my_log" on the target nor to copy content of
"pg_log"from the source. 
> It couldn't be achieved just by introducing a static string "log". The "log_directory" GUC must be examined on both,
sourceand target. 

Trouble with doing that is if pg_rewind is run in non-libpq (offline)
mode. Then we would have to parse it out of the conf file(s)?
Is there a standard way of doing that?

Regards,
Soumyadeep (VMware)



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

Предыдущее
От: Peter Smith
Дата:
Сообщение: Re: [PATCH] Use indexes on the subscriber when REPLICA IDENTITY is full on the publisher
Следующее
От: "Hayato Kuroda (Fujitsu)"
Дата:
Сообщение: RE: Rework LogicalOutputPluginWriterUpdateProgress