Re: RecoveryInProgress() has critical side effects - Mailing list pgsql-hackers

From Andres Freund
Subject Re: RecoveryInProgress() has critical side effects
Date
Msg-id 20211116220417.ibdcrjo77v53zedv@alap3.anarazel.de
Whole thread Raw
In response to Re: RecoveryInProgress() has critical side effects  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: RecoveryInProgress() has critical side effects
List pgsql-hackers
On 2021-11-16 16:30:27 -0500, Robert Haas wrote:
> I'm still not entirely clear on whether you prefer v1-0002, v2-0002,
> or something else.

I think it basically doesn't matter much. It's such a small piece of the cost
compared to either the cost of a single insert or the ratio between
RedoRecPtr/FPW changes and the number of inserted records.

I guess v2-0002 is mildly simpler, so I very weakly lean towards that.



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: refactoring basebackup.c
Next
From: Tom Lane
Date:
Subject: Re: Granting SET and ALTER SYSTE privileges for GUCs