Re: Incorrect logic in XLogNeedsFlush() - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Incorrect logic in XLogNeedsFlush()
Date
Msg-id aMOp4UVGualz7i6d@paquier.xyz
Whole thread Raw
In response to Re: Incorrect logic in XLogNeedsFlush()  (Dilip Kumar <dilipbalaut@gmail.com>)
List pgsql-hackers
On Fri, Sep 12, 2025 at 10:21:27AM +0530, Dilip Kumar wrote:
> Yeah, asserting it at the end makes sense, as we can ensure that
> XLogFlush() and XLogNeedsFlush() agree on the same thing without
> adding additional overhead.  Here is the revised one.

Melanie and Jeff, what do you think?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Re: Extended Statistics set/restore/clear functions.
Next
From: Amit Kapila
Date:
Subject: Re: Add support for specifying tables in pg_createsubscriber.