pgsql: Expose new function get_controlfile_by_exact_path(). - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Expose new function get_controlfile_by_exact_path().
Date
Msg-id E1rkRIo-003cbX-0y@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Make the order of the header file includes consistent
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Hopefully make libpq_pipeline's new cancel test more reliable