Skip to content

Commit dd515d4

Browse files
committed
Change the suffix of auto conf temporary file from "temp" to "tmp".
Michael Paquier
1 parent 7c619be commit dd515d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend/replication/basebackup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ sendDir(char *path, int basepathlen, bool sizeonly, List *tablespaces)
834834

835835
/* skip auto conf temporary file */
836836
if (strncmp(de->d_name,
837-
PG_AUTOCONF_FILENAME ".temp",
837+
PG_AUTOCONF_FILENAME ".tmp",
838838
sizeof(PG_AUTOCONF_FILENAME) + 4) == 0)
839839
continue;
840840

src/backend/utils/misc/guc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6670,7 +6670,7 @@ AlterSystemSetConfigFile(AlterSystemStmt * altersysstmt)
66706670
canonicalize_path(AutoConfFileName);
66716671
snprintf(AutoConfTmpFileName, sizeof(AutoConfTmpFileName), "%s.%s",
66726672
AutoConfFileName,
6673-
"temp");
6673+
"tmp");
66746674

66756675
/*
66766676
* One backend is allowed to operate on file PG_AUTOCONF_FILENAME, to

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy