Re: Remove emode argument from XLogFileRead/XLogFileReadAnyTLI
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Yugo Nagata <nagata@sraoss.co.jp>
Cc: pgsql-hackers@postgresql.org
Date: 2024-09-09T03:16:01Z
Lists: pgsql-hackers
On Fri, Sep 06, 2024 at 08:10:43PM +0900, Yugo Nagata wrote: > Since 1bb2558046c, XLogFileRead() doesn't use the emode argument. > Also, since abf5c5c9a4f, XLogFileReadAnyTLI() is called just once > and emode is always DEBUG2. So, I think we can remove the emode > argument from these functions. I've atached the patch. It's true that the last relevant caller of XLogFileReadAnyTLI() that required an emode is abf5c5c9a4f1, as you say, that's also what I am tracking down. Any objections to that? -- Michael
Commits
-
Remove emode argument from XLogFileRead() and XLogFileReadAnyTLI()
- fba49d5293b4 18.0 landed