Re: A out of date comment of WaitForWALToBecomeAvailable - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: A out of date comment of WaitForWALToBecomeAvailable
Date
Msg-id aXw-AcX96qUL60gP@paquier.xyz
Whole thread Raw
In response to A out of date comment of WaitForWALToBecomeAvailable  ("Andy Fan" <zhihuifan1213@163.com>)
Responses Re:Re: A out of date comment of WaitForWALToBecomeAvailable
List pgsql-hackers
On Fri, Jan 30, 2026 at 10:29:41AM +0800, Andy Fan wrote:
> The following comment looks out of date now. should we fix it as following?

Yes, the code returns XLREAD_FAIL is we cannot find a record when not
in standby mode.  Thanks for the report.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Add expressions to pg_restore_extended_stats()
Next
From: shveta malik
Date:
Subject: Re: pg_upgrade: optimize replication slot caught-up check