Обсуждение: pgsql: Expose new function get_controlfile_by_exact_path().

Поиск
Список
Период
Сортировка

pgsql: Expose new function get_controlfile_by_exact_path().

От
Robert Haas
Дата:
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(-)