Re: Use XLOG_CONTROL_FILE macro everywhere? - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Use XLOG_CONTROL_FILE macro everywhere?
Date
Msg-id ZimeCrx0IoiIQpJU@paquier.xyz
Whole thread Raw
In response to Re: Use XLOG_CONTROL_FILE macro everywhere?  ("Anton A. Melnikov" <a.melnikov@postgrespro.ru>)
Responses Re: Use XLOG_CONTROL_FILE macro everywhere?  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Wed, Apr 24, 2024 at 12:32:46PM +0300, Anton A. Melnikov wrote:
> To ensure backward compatibility we can save the old macro like this:
>
> #define XLOG_CONTROL_FILE    "global/pg_control"
> #define PG_CONTROL_FILE        XLOG_CONTROL_FILE
>
> With the best wishes,

Not sure that I would bother with a second one.  But, well, why not if
people want to rename it, as long as you keep compatibility.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Partitioned tables and [un]loggedness
Next
From: Ian Lawrence Barwick
Date:
Subject: docs: minor typo fix for "lower(anymultirange)"