From 65d6e4cb5c62371dae6c236a7e709d503ae6ddf8 Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Wed, 18 Dec 2013 23:42:44 +0900 Subject: Add ALTER SYSTEM command to edit the server configuration file. Patch contributed by Amit Kapila. Reviewed by Hari Babu, Masao Fujii, Boszormenyi Zoltan, Andres Freund, Greg Smith and others. --- src/backend/replication/basebackup.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/backend/replication/basebackup.c') diff --git a/src/backend/replication/basebackup.c b/src/backend/replication/basebackup.c index ba8d173357e..244e3b0ab3f 100644 --- a/src/backend/replication/basebackup.c +++ b/src/backend/replication/basebackup.c @@ -811,6 +811,13 @@ sendDir(char *path, int basepathlen, bool sizeonly) strlen(PG_TEMP_FILE_PREFIX)) == 0) continue; + /* skip auto conf temporary file */ + if (strncmp(de->d_name, + PG_AUTOCONF_FILENAME ".temp", + sizeof(PG_AUTOCONF_FILENAME) + 4) == 0) + continue; + + /* * If there's a backup_label file, it belongs to a backup started by * the user with pg_start_backup(). It is *not* correct for this -- cgit v1.2.3