From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Expose new function get_controlfile_by_exact_path().
Date: Wed, 13 Mar 2024 16:18:02 +0000
Message-ID: <E1rkRIo-003cbX-0y@gemulon.postgresql.org> (raw)
Expose new function get_controlfile_by_exact_path().
This works just like get_controlfile(), but expects the path to the
control file rather than the path to the data directory that contains
the control file. This makes more sense in cases where the caller
has already constructed the path to the control file itself.
Amul Sul and Robert Haas, reviewed by Michael Paquier
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/dbfc44716596073b99e093a04e29e774a518f520
Modified Files
--------------
src/bin/pg_combinebackup/pg_combinebackup.c | 2 +-
src/common/controldata_utils.c | 18 ++++++++++++++++--
src/include/common/controldata_utils.h | 2 ++
3 files changed, 19 insertions(+), 3 deletions(-)
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-committers@postgresql.org
Cc: rhaas@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Expose new function get_controlfile_by_exact_path().
In-Reply-To: <E1rkRIo-003cbX-0y@gemulon.postgresql.org>
* 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