mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
When restoring from Barman, create pg_logical subdirectories
Nodes cloned from Barman backups were missing these subdirectories, and so they were unable to start when promoted.
This commit is contained in:
4
repmgr.c
4
repmgr.c
@@ -3315,14 +3315,14 @@ do_standby_clone(void)
|
|||||||
/* Only from 9.5 */
|
/* Only from 9.5 */
|
||||||
"pg_commit_ts",
|
"pg_commit_ts",
|
||||||
/* Only from 9.4 */
|
/* Only from 9.4 */
|
||||||
"pg_dynshmem", "pg_logical", "pg_replslot",
|
"pg_dynshmem", "pg_logical", "pg_logical/snapshot", "pg_logical/mappings", "pg_replslot",
|
||||||
/* Already in 9.3 */
|
/* Already in 9.3 */
|
||||||
"pg_serial", "pg_snapshots", "pg_stat", "pg_stat_tmp", "pg_tblspc",
|
"pg_serial", "pg_snapshots", "pg_stat", "pg_stat_tmp", "pg_tblspc",
|
||||||
"pg_twophase", "pg_xlog", 0
|
"pg_twophase", "pg_xlog", 0
|
||||||
};
|
};
|
||||||
const int vers[] = {
|
const int vers[] = {
|
||||||
90500,
|
90500,
|
||||||
90400, 90400, 90400,
|
90400, 90400, 90400, 90400, 90400,
|
||||||
0, 0, 0, 0, 0,
|
0, 0, 0, 0, 0,
|
||||||
0, 0, 0
|
0, 0, 0
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user