diff options
-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 3f7605ce9b1..de012608e77 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++) @@ -1105,6 +1099,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(); |