Remove emode argument from XLogFileRead/XLogFileReadAnyTLI

From: Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Remove emode argument from XLogFileRead/XLogFileReadAnyTLI
Date: 2024-09-06 11:10:43
Message-ID: 20240906201043.a640f3b44e755d4db2b6943e@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

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.

Regards,
Yugo Nagata

--
Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp>

Attachment Content-Type Size
Remove_emode_from_XLogFileRead.patch text/x-diff 2.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Rafia Sabih 2024-09-06 11:18:39 Re: pgstattuple: fix free space calculation
Previous Message Bertrand Drouvot 2024-09-06 10:48:25 Remove one TimestampTzGetDatum call in pg_stat_get_io()