diff --git a/src/backend/replication/basebackup.c b/src/backend/replication/basebackup.c index fc35f5b282..7d0ed9ce4c 100644 --- a/src/backend/replication/basebackup.c +++ b/src/backend/replication/basebackup.c @@ -834,7 +834,7 @@ sendDir(char *path, int basepathlen, bool sizeonly, List *tablespaces) /* skip auto conf temporary file */ if (strncmp(de->d_name, - PG_AUTOCONF_FILENAME ".temp", + PG_AUTOCONF_FILENAME ".tmp", sizeof(PG_AUTOCONF_FILENAME) + 4) == 0) continue; diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 35dca18bfc..59f395474a 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -6670,7 +6670,7 @@ AlterSystemSetConfigFile(AlterSystemStmt * altersysstmt) canonicalize_path(AutoConfFileName); snprintf(AutoConfTmpFileName, sizeof(AutoConfTmpFileName), "%s.%s", AutoConfFileName, - "temp"); + "tmp"); /* * One backend is allowed to operate on file PG_AUTOCONF_FILENAME, to