aboutsummaryrefslogtreecommitdiff
path: root/src/backend/postmaster/postmaster.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2009-03-04 13:56:40 +0000
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2009-03-04 13:56:40 +0000
commitfb7df896fc56e5503a00db1931e12d2275b34031 (patch)
treee61dc721f051e0427372be4c019173386a433664 /src/backend/postmaster/postmaster.c
parent820984ba05b786280bafa382154eec64554f632c (diff)
downloadpostgresql-fb7df896fc56e5503a00db1931e12d2275b34031.tar.gz
postgresql-fb7df896fc56e5503a00db1931e12d2275b34031.zip
Reload config file in startup process on SIGHUP.
Fujii Masao
Diffstat (limited to 'src/backend/postmaster/postmaster.c')
-rw-r--r--src/backend/postmaster/postmaster.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c
index 0ca52dc1c71..1f3b6e8cd98 100644
--- a/src/backend/postmaster/postmaster.c
+++ b/src/backend/postmaster/postmaster.c
@@ -37,7 +37,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.575 2009/03/03 10:42:05 heikki Exp $
+ * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.576 2009/03/04 13:56:40 heikki Exp $
*
* NOTES
*
@@ -1949,6 +1949,8 @@ SIGHUP_handler(SIGNAL_ARGS)
(errmsg("received SIGHUP, reloading configuration files")));
ProcessConfigFile(PGC_SIGHUP);
SignalChildren(SIGHUP);
+ if (StartupPID != 0)
+ signal_child(StartupPID, SIGHUP);
if (BgWriterPID != 0)
signal_child(BgWriterPID, SIGHUP);
if (WalWriterPID != 0)