Re: A out of date comment of WaitForWALToBecomeAvailable

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Andy Fan <zhihuifan1213(at)163(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, thomas(dot)munro(at)gmail(dot)com
Subject: Re: A out of date comment of WaitForWALToBecomeAvailable
Date: 2026-01-30 05:13:37
Message-ID: aXw-AcX96qUL60gP@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message shveta malik 2026-01-30 05:25:41 Re: pg_upgrade: optimize replication slot caught-up check
Previous Message Corey Huinker 2026-01-30 05:08:49 Add expressions to pg_restore_extended_stats()