1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-19 23:22:23 +03:00

Allow external recovery_config_directory

If required, recovery.conf can now be located outside of the data directory.
Server needs read/write permissions on this directory.
This commit is contained in:
Simon Riggs
2013-03-27 11:45:42 +00:00
parent f7f210b5c4
commit bc5334d867
7 changed files with 75 additions and 7 deletions

View File

@@ -137,6 +137,7 @@ extern bool IsBinaryUpgrade;
extern bool ExitOnAnyError;
extern PGDLLIMPORT char *DataDir;
extern PGDLLIMPORT char *RecoveryConfDir;
extern PGDLLIMPORT int NBuffers;
extern int MaxBackends;
@@ -301,6 +302,7 @@ extern Oid GetCurrentRoleId(void);
extern void SetCurrentRoleId(Oid roleid, bool is_superuser);
extern void SetDataDir(const char *dir);
extern void SetRecoveryConfDir(const char *dir);
extern void ChangeToDataDir(void);
extern char *make_absolute_path(const char *path);