Re: Move backup-related code to xlogbackup.c/.h - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Move backup-related code to xlogbackup.c/.h
Date
Msg-id 20221019105300.wbotlhkq7kivci32@alvherre.pgsql
Whole thread Raw
In response to Re: Move backup-related code to xlogbackup.c/.h  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Responses Re: Move backup-related code to xlogbackup.c/.h  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
List 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 by date:

Previous
From: vignesh C
Date:
Subject: Improve tab completion for ALTER STATISTICS
Next
From: Bharath Rupireddy
Date:
Subject: Re: Move backup-related code to xlogbackup.c/.h