diff options
Diffstat (limited to 'src/backend/postmaster/pgarch.c')
-rw-r--r-- | src/backend/postmaster/pgarch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/backend/postmaster/pgarch.c b/src/backend/postmaster/pgarch.c index cf2ce46516b..815316055a7 100644 --- a/src/backend/postmaster/pgarch.c +++ b/src/backend/postmaster/pgarch.c @@ -40,6 +40,7 @@ #include "postmaster/fork_process.h" #include "postmaster/pgarch.h" #include "postmaster/postmaster.h" +#include "storage/dsm.h" #include "storage/fd.h" #include "storage/ipc.h" #include "storage/latch.h" @@ -163,6 +164,7 @@ pgarch_start(void) on_exit_reset(); /* Drop our connection to postmaster's shared memory, as well */ + dsm_detach_all(); PGSharedMemoryDetach(); PgArchiverMain(0, NULL); |