Fix directories to exclude in clone from Barman

Backport fix from repmgr4.
This commit is contained in:
Ian Barwick
2019-02-22 16:31:58 +09:00
parent df34e7e8c5
commit 3f9b10a02c

View File

@@ -3601,15 +3601,15 @@ do_standby_clone(void)
/* Only from 9.4 */ /* Only from 9.4 */
"pg_dynshmem", "pg_logical", "pg_logical/snapshots", "pg_logical/mappings", "pg_replslot", "pg_dynshmem", "pg_logical", "pg_logical/snapshots", "pg_logical/mappings", "pg_replslot",
/* Already in 9.3 */ /* Already in 9.3 */
"pg_notify", "pg_serial", "pg_snapshots", "pg_stat", "pg_stat_tmp", "pg_tblspc", "pg_notify", "pg_serial", "pg_snapshots", "pg_stat", "pg_stat_tmp",
"pg_twophase", "pg_xlog", 0 "pg_subtrans", "pg_tblspc", "pg_twophase", "pg_xlog", 0
}; };
const int vers[] = { const int vers[] = {
100000, 100000,
90500, 90500,
90400, 90400, 90400, 90400, 90400, 90400, 90400, 90400, 90400, 90400,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, -100000, 0 0, 0, 0, -100000
}; };
for (i = 0; dirs[i]; i++) for (i = 0; dirs[i]; i++)
{ {