diff options
Diffstat (limited to 'src/backend/postmaster/pgarch.c')
-rw-r--r-- | src/backend/postmaster/pgarch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/postmaster/pgarch.c b/src/backend/postmaster/pgarch.c index 61019d7a5e3..7b604b9f9f9 100644 --- a/src/backend/postmaster/pgarch.c +++ b/src/backend/postmaster/pgarch.c @@ -19,7 +19,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/postmaster/pgarch.c,v 1.18 2005/10/15 02:49:23 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/postmaster/pgarch.c,v 1.19 2006/01/04 21:06:31 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -158,6 +158,9 @@ pgarch_start(void) /* Close the postmaster's sockets */ ClosePostmasterPorts(false); + /* Lose the postmaster's on-exit routines */ + on_exit_reset(); + /* Drop our connection to postmaster's shared memory, as well */ PGSharedMemoryDetach(); @@ -219,9 +222,6 @@ PgArchiverMain(int argc, char *argv[]) MyProcPid = getpid(); /* reset MyProcPid */ - /* Lose the postmaster's on-exit routines */ - on_exit_reset(); - /* * Ignore all signals usually bound to some action in the postmaster, * except for SIGHUP, SIGUSR1 and SIGQUIT. |