aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/ipc/latch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/storage/ipc/latch.c')
-rw-r--r--src/backend/storage/ipc/latch.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/backend/storage/ipc/latch.c b/src/backend/storage/ipc/latch.c
index 4572684f224..cd09a10f3d1 100644
--- a/src/backend/storage/ipc/latch.c
+++ b/src/backend/storage/ipc/latch.c
@@ -360,33 +360,6 @@ InitializeLatchWaitSet(void)
Assert(latch_pos == LatchWaitSetLatchPos);
}
-void
-ShutdownLatchSupport(void)
-{
-#if defined(WAIT_USE_POLL)
- pqsignal(SIGURG, SIG_IGN);
-#endif
-
- if (LatchWaitSet)
- {
- FreeWaitEventSet(LatchWaitSet);
- LatchWaitSet = NULL;
- }
-
-#if defined(WAIT_USE_SELF_PIPE)
- close(selfpipe_readfd);
- close(selfpipe_writefd);
- selfpipe_readfd = -1;
- selfpipe_writefd = -1;
- selfpipe_owner_pid = InvalidPid;
-#endif
-
-#if defined(WAIT_USE_SIGNALFD)
- close(signal_fd);
- signal_fd = -1;
-#endif
-}
-
/*
* Initialize a process-local latch.
*/