Re: RecoveryInProgress() has critical side effects
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Robert Haas <robertmhaas@gmail.com>
Cc: "Bossart, Nathan" <bossartn@amazon.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, amul sul <sulamul@gmail.com>
Date: 2021-11-16T22:04:17Z
Lists: 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.
Commits
-
Remove InitXLOGAccess().
- fa0e03c15a9f 15.0 landed
-
Move InitXLogInsert() call from InitXLOGAccess() to BaseInit().
- e51c46991f0e 15.0 landed