mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Change the suffix of auto conf temporary file from "temp" to "tmp".
Michael Paquier
This commit is contained in:
parent
7c619be623
commit
dd515d4082
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user