Commit f2c7a276 authored by Bruce Momjian's avatar Bruce Momjian

Write non-defaults file before signalling the children to reread it.

parent 789a5b34
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.324 2003/05/08 18:33:25 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.325 2003/05/08 20:43:07 momjian Exp $
* *
* NOTES * NOTES
* *
...@@ -1572,11 +1572,11 @@ SIGHUP_handler(SIGNAL_ARGS) ...@@ -1572,11 +1572,11 @@ SIGHUP_handler(SIGNAL_ARGS)
if (Shutdown <= SmartShutdown) if (Shutdown <= SmartShutdown)
{ {
elog(LOG, "Received SIGHUP, reloading configuration files"); elog(LOG, "Received SIGHUP, reloading configuration files");
SignalChildren(SIGHUP);
ProcessConfigFile(PGC_SIGHUP); ProcessConfigFile(PGC_SIGHUP);
#ifdef EXEC_BACKEND #ifdef EXEC_BACKEND
write_nondefault_variables(PGC_SIGHUP); write_nondefault_variables(PGC_SIGHUP);
#endif #endif
SignalChildren(SIGHUP);
load_hba(); load_hba();
load_ident(); load_ident();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment