From 502c0567534c80fed27b4ef213c60bfcb720499c Mon Sep 17 00:00:00 2001 From: Gianni Ciolli Date: Fri, 7 Oct 2016 19:31:02 +0200 Subject: [PATCH] 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. --- repmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repmgr.c b/repmgr.c index 13481412..eb08fbc6 100644 --- a/repmgr.c +++ b/repmgr.c @@ -3315,14 +3315,14 @@ do_standby_clone(void) /* Only from 9.5 */ "pg_commit_ts", /* 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 */ "pg_serial", "pg_snapshots", "pg_stat", "pg_stat_tmp", "pg_tblspc", "pg_twophase", "pg_xlog", 0 }; const int vers[] = { 90500, - 90400, 90400, 90400, + 90400, 90400, 90400, 90400, 90400, 0, 0, 0, 0, 0, 0, 0, 0 };