pgsql: Expose new function get_controlfile_by_exact_path().

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Expose new function get_controlfile_by_exact_path().
Date: 2024-03-13 16:18:02
Message-ID: E1rkRIo-003cbX-0y@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2024-03-13 18:56:09 pgsql: Hopefully make libpq_pipeline's new cancel test more reliable
Previous Message Peter Eisentraut 2024-03-13 14:07:31 pgsql: Make the order of the header file includes consistent