Commit dd515d40 authored by Fujii Masao's avatar Fujii Masao

Change the suffix of auto conf temporary file from "temp" to "tmp".

Michael Paquier
parent 7c619be6
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment