From: Anton A. Melnikov <a.melnikov@postgrespro.ru>
To: Peter Eisentraut <peter@eisentraut.org>
To: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: Use XLOG_CONTROL_FILE macro everywhere?
Date: Wed, 24 Apr 2024 12:13:10 +0300
Message-ID: <44faf5a1-1e84-4ae5-9ea7-106af77cf96b@postgrespro.ru> (raw)
In-Reply-To: <474746ef-fa9f-400e-902e-3bb018320ca0@eisentraut.org>
References: <0841ec77-47e5-452a-adb4-c6fa55d605fc@postgrespro.ru>
<474746ef-fa9f-400e-902e-3bb018320ca0@eisentraut.org>
On 24.04.2024 12:02, Peter Eisentraut wrote:
> On 19.04.24 05:50, Anton A. Melnikov wrote:
>>
>> May be better use this macro everywhere in C code?
>
> I don't know. I don't find XLOG_CONTROL_FILE to be a very intuitive proxy for "pg_control".
>
Then maybe replace XLOG_CONTROL_FILE with PG_CONTROL_FILE?
The PG_CONTROL_FILE_SIZE macro is already in the code.
With the best regards,
--
Anton A. Melnikov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: a.melnikov@postgrespro.ru, peter@eisentraut.org
Subject: Re: Use XLOG_CONTROL_FILE macro everywhere?
In-Reply-To: <44faf5a1-1e84-4ae5-9ea7-106af77cf96b@postgrespro.ru>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox