summaryrefslogtreecommitdiff
path: root/src/backend/postmaster/walwriter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/postmaster/walwriter.c')
-rw-r--r--src/backend/postmaster/walwriter.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/backend/postmaster/walwriter.c b/src/backend/postmaster/walwriter.c
index 2101b45c1a3..044c30665e7 100644
--- a/src/backend/postmaster/walwriter.c
+++ b/src/backend/postmaster/walwriter.c
@@ -42,8 +42,6 @@
#include "postgres.h"
#include <signal.h>
-#include <sys/time.h>
-#include <time.h>
#include <unistd.h>
#include "access/xlog.h"
@@ -102,17 +100,6 @@ WalWriterMain(void)
bool hibernating;
/*
- * If possible, make this process a group leader, so that the postmaster
- * can signal any child processes too. (walwriter probably never has any
- * child processes, but for consistency we make all postmaster child
- * processes do this.)
- */
-#ifdef HAVE_SETSID
- if (setsid() < 0)
- elog(FATAL, "setsid() failed: %m");
-#endif
-
- /*
* Properly accept or ignore signals the postmaster might send us
*
* We have no particular use for SIGINT at the moment, but seems