Re: Move backup-related code to xlogbackup.c/.h

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Move backup-related code to xlogbackup.c/.h
Дата
Msg-id 20221019105300.wbotlhkq7kivci32@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Move backup-related code to xlogbackup.c/.h  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Ответы Re: Move backup-related code to xlogbackup.c/.h  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Список pgsql-hackers
On 2022-Oct-19, Bharath Rupireddy wrote:

> When the standby is in recovery, calls to XLogInsertRecord() or
> AdvanceXLInsertBuffer()) where forcePageWrites is being used, won't
> happen, no?
> 
>       * Note that forcePageWrites has no effect during an online backup from
> -     * the standby.
> +     * the standby.   XXX what does this mean??

Well, yes, but when looking at this comment I wonder why do I *care*
about this point.  I left this comment has you changed it, but I wonder
if we shouldn't just remove it.

> I removed the 2 more instances of forcePageWrites left-out and tweaked
> the comments a little and attached 0002.

Thanks for looking.  Pushed now.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"People get annoyed when you try to debug them."  (Larry Wall)



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

Предыдущее
От: vignesh C
Дата:
Сообщение: Improve tab completion for ALTER STATISTICS
Следующее
От: Bharath Rupireddy
Дата:
Сообщение: Re: Move backup-related code to xlogbackup.c/.h