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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user