diff --git a/HISTORY b/HISTORY
index 247f0b4d..bdb4fde6 100644
--- a/HISTORY
+++ b/HISTORY
@@ -14,6 +14,8 @@
repmgr: improve/clarify documentation and update --help output for
"primary unregister"; GitHub #373 (Ian)
repmgr: fix parsing of "pg_basebackup_options"; GitHub #376 (Ian)
+ repmgr: ensure "pg_subtrans" directory is created when cloning a standby in
+ Barman mode (Ian)
4.0.2 2018-01-18
repmgr: add missing -W option to getopt_long() invocation; GitHub #350 (Ian)
diff --git a/doc/appendix-release-notes.sgml b/doc/appendix-release-notes.sgml
index ce3d86c6..e7cc1d13 100644
--- a/doc/appendix-release-notes.sgml
+++ b/doc/appendix-release-notes.sgml
@@ -103,7 +103,14 @@
- parsining of pg_basebackup_options fixed (GitHub #376)
+ parsing of pg_basebackup_options fixed (GitHub #376)
+
+
+
+
+
+ ensure the pg_subtrans directory is created when cloning a
+ standby in Barman mode
diff --git a/repmgr-action-standby.c b/repmgr-action-standby.c
index 95b6b9d8..65a38122 100644
--- a/repmgr-action-standby.c
+++ b/repmgr-action-standby.c
@@ -4481,8 +4481,8 @@ run_file_backup(t_node_info *node_record)
/* Only from 9.4 */
"pg_dynshmem", "pg_logical", "pg_logical/snapshots", "pg_logical/mappings", "pg_replslot",
/* Already in 9.3 */
- "pg_notify", "pg_serial", "pg_snapshots", "pg_stat", "pg_stat_tmp", "pg_tblspc",
- "pg_twophase", "pg_xlog", 0
+ "pg_notify", "pg_serial", "pg_snapshots", "pg_stat", "pg_stat_tmp",
+ "pg_subtrans", "pg_tblspc", "pg_twophase", "pg_xlog", 0
};
const int vers[] = {
100000,