diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/postmaster/postmaster.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index dd7dd5560fa..e400f0a8e15 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -827,12 +827,6 @@ PostmasterMain(int argc, char *argv[]) process_shared_preload_libraries(); /* - * Remove old temporary files. At this point there can be no other - * Postgres processes running in this directory, so this should be safe. - */ - RemovePgTempFiles(); - - /* * Establish input sockets. */ for (i = 0; i < MAXLISTEN; i++) @@ -1100,6 +1094,12 @@ 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(); + + /* * Remember postmaster startup time */ PgStartTime = GetCurrentTimestamp(); |