1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00

Add PostgreSQL file and path names used for building manifests.

This commit is contained in:
David Steele 2019-12-01 16:28:33 -05:00
parent 56ee321a95
commit 218698088f
2 changed files with 19 additions and 0 deletions

View File

@ -21,6 +21,7 @@ STRING_EXTERN(PG_FILE_PGVERSION_STR, PG_FILE_PGVE
STRING_EXTERN(PG_FILE_POSTGRESQLAUTOCONF_STR, PG_FILE_POSTGRESQLAUTOCONF); STRING_EXTERN(PG_FILE_POSTGRESQLAUTOCONF_STR, PG_FILE_POSTGRESQLAUTOCONF);
STRING_EXTERN(PG_FILE_POSTMASTERPID_STR, PG_FILE_POSTMASTERPID); STRING_EXTERN(PG_FILE_POSTMASTERPID_STR, PG_FILE_POSTMASTERPID);
STRING_EXTERN(PG_FILE_RECOVERYCONF_STR, PG_FILE_RECOVERYCONF); STRING_EXTERN(PG_FILE_RECOVERYCONF_STR, PG_FILE_RECOVERYCONF);
STRING_EXTERN(PG_FILE_RECOVERYDONE_STR, PG_FILE_RECOVERYDONE);
STRING_EXTERN(PG_FILE_RECOVERYSIGNAL_STR, PG_FILE_RECOVERYSIGNAL); STRING_EXTERN(PG_FILE_RECOVERYSIGNAL_STR, PG_FILE_RECOVERYSIGNAL);
STRING_EXTERN(PG_FILE_STANDBYSIGNAL_STR, PG_FILE_STANDBYSIGNAL); STRING_EXTERN(PG_FILE_STANDBYSIGNAL_STR, PG_FILE_STANDBYSIGNAL);

View File

@ -13,15 +13,23 @@ PostgreSQL Interface
/*********************************************************************************************************************************** /***********************************************************************************************************************************
Defines for various Postgres paths and files Defines for various Postgres paths and files
***********************************************************************************************************************************/ ***********************************************************************************************************************************/
#define PG_FILE_BACKUPLABEL "backup_label"
#define PG_FILE_BACKUPLABELOLD "backup_label.old"
#define PG_FILE_PGCONTROL "pg_control" #define PG_FILE_PGCONTROL "pg_control"
#define PG_FILE_PGFILENODEMAP "pg_filenode.map"
#define PG_FILE_PGINTERNALINIT "pg_internal.init"
#define PG_FILE_PGVERSION "PG_VERSION" #define PG_FILE_PGVERSION "PG_VERSION"
STRING_DECLARE(PG_FILE_PGVERSION_STR); STRING_DECLARE(PG_FILE_PGVERSION_STR);
#define PG_FILE_POSTGRESQLAUTOCONF "postgresql.auto.conf" #define PG_FILE_POSTGRESQLAUTOCONF "postgresql.auto.conf"
STRING_DECLARE(PG_FILE_POSTGRESQLAUTOCONF_STR); STRING_DECLARE(PG_FILE_POSTGRESQLAUTOCONF_STR);
#define PG_FILE_POSTGRESQLAUTOCONFTMP "postgresql.auto.conf.tmp"
#define PG_FILE_POSTMASTEROPTS "postmaster.opts"
#define PG_FILE_POSTMASTERPID "postmaster.pid" #define PG_FILE_POSTMASTERPID "postmaster.pid"
STRING_DECLARE(PG_FILE_POSTMASTERPID_STR); STRING_DECLARE(PG_FILE_POSTMASTERPID_STR);
#define PG_FILE_RECOVERYCONF "recovery.conf" #define PG_FILE_RECOVERYCONF "recovery.conf"
STRING_DECLARE(PG_FILE_RECOVERYCONF_STR); STRING_DECLARE(PG_FILE_RECOVERYCONF_STR);
#define PG_FILE_RECOVERYDONE "recovery.done"
STRING_DECLARE(PG_FILE_RECOVERYDONE_STR);
#define PG_FILE_RECOVERYSIGNAL "recovery.signal" #define PG_FILE_RECOVERYSIGNAL "recovery.signal"
STRING_DECLARE(PG_FILE_RECOVERYSIGNAL_STR); STRING_DECLARE(PG_FILE_RECOVERYSIGNAL_STR);
#define PG_FILE_STANDBYSIGNAL "standby.signal" #define PG_FILE_STANDBYSIGNAL "standby.signal"
@ -32,6 +40,16 @@ Defines for various Postgres paths and files
#define PG_PATH_BASE "base" #define PG_PATH_BASE "base"
#define PG_PATH_GLOBAL "global" #define PG_PATH_GLOBAL "global"
STRING_DECLARE(PG_PATH_GLOBAL_STR); STRING_DECLARE(PG_PATH_GLOBAL_STR);
#define PG_PATH_PGMULTIXACT "pg_multixact"
#define PG_PATH_PGDYNSHMEM "pg_dynshmem"
#define PG_PATH_PGNOTIFY "pg_notify"
#define PG_PATH_PGREPLSLOT "pg_replslot"
#define PG_PATH_PGSERIAL "pg_serial"
#define PG_PATH_PGSNAPSHOTS "pg_snapshots"
#define PG_PATH_PGSTATTMP "pg_stat_tmp"
#define PG_PATH_PGSUBTRANS "pg_subtrans"
#define PG_PREFIX_PGSQLTMP "pgsql_tmp"
#define PG_NAME_WAL "wal" #define PG_NAME_WAL "wal"
STRING_DECLARE(PG_NAME_WAL_STR); STRING_DECLARE(PG_NAME_WAL_STR);