Re: Remove emode argument from XLogFileRead/XLogFileReadAnyTLI

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Yugo NAGATA <nagata(at)sraoss(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Remove emode argument from XLogFileRead/XLogFileReadAnyTLI
Date: 2024-09-09 23:45:45
Message-ID: Zt-Iqf2PNgheuUG7@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Sep 09, 2024 at 05:45:13PM +0900, Yugo NAGATA wrote:
> I mean to remove emode from XLogFileRead, too, but this fix is accidentally
> missed in the previous patch. I attached the updated patch.

This is neat because we don't need to guess how XLogFileRead() should
fail on PANIC, allow things with a DEBUG2 or something else, and
XLogFileReadAnyTLI()'s sole caller used DEBUG2. Applied.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ed Behn 2024-09-10 00:40:21 Re: access numeric data in module
Previous Message Tom Lane 2024-09-09 23:42:17 Re: pg_trgm comparison bug on cross-architecture replication due to different char implementation