diff options
Diffstat (limited to 'src/backend/postmaster/postmaster.c')
-rw-r--r-- | src/backend/postmaster/postmaster.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index 41eb1327a7d..b35e20a0182 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -1065,6 +1065,12 @@ PostmasterMain(int argc, char *argv[]) } /* + * Remove old temporary files. At this point there can be no other + * Postgres processes running in this directory, so this should be safe. + */ + RemovePgTempFiles(); + + /* * If enabled, start up syslogger collection subprocess */ SysLoggerPID = SysLogger_Start(); @@ -1103,12 +1109,6 @@ PostmasterMain(int argc, char *argv[]) } load_ident(); - /* - * Remove old temporary files. At this point there can be no other - * Postgres processes running in this directory, so this should be safe. - */ - RemovePgTempFiles(); - #ifdef HAVE_PTHREAD_IS_THREADED_NP /* @@ -4937,7 +4937,7 @@ read_backend_variables(char *id, Port *port) fp = AllocateFile(id, PG_BINARY_R); if (!fp) { - write_stderr("could not read from backend variables file \"%s\": %s\n", + write_stderr("could not open backend variables file \"%s\": %s\n", id, strerror(errno)); exit(1); } |