summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPavan Deolasee2015-06-04 10:22:39 +0000
committerPavan Deolasee2015-06-04 10:22:39 +0000
commit633da80d8080348ae59dcdd1404a061abc8d0ead (patch)
treecc2fb87f83db828f2065fd698c0695e4aa4df488 /src
parent554adfd94bc69c0aa8c104bab445b7e262f6cb63 (diff)
Do not call set_sid() for pooler processes.
A temp fix so that other tests can progress.
Diffstat (limited to 'src')
-rw-r--r--src/backend/pgxc/pool/poolmgr.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/backend/pgxc/pool/poolmgr.c b/src/backend/pgxc/pool/poolmgr.c
index d31c5a7e50..722ab516aa 100644
--- a/src/backend/pgxc/pool/poolmgr.c
+++ b/src/backend/pgxc/pool/poolmgr.c
@@ -246,16 +246,6 @@ PoolManagerInit()
ForgetLockFiles();
/*
- * If possible, make this process a group leader, so that the postmaster
- * can signal any child processes too. (pool manager 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
*/
pqsignal(SIGINT, pooler_die);