From f2c7a2763532b026469b5b22f91aade30ae7e98e Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Thu, 8 May 2003 20:43:07 +0000
Subject: [PATCH] Write non-defaults file before signalling the children to
 reread it.

---
 src/backend/postmaster/postmaster.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c
index 5ea0f4705ec..0d31b4a7dc3 100644
--- a/src/backend/postmaster/postmaster.c
+++ b/src/backend/postmaster/postmaster.c
@@ -37,7 +37,7 @@
  *
  *
  * 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
  *
@@ -1572,11 +1572,11 @@ SIGHUP_handler(SIGNAL_ARGS)
 	if (Shutdown <= SmartShutdown)
 	{
 		elog(LOG, "Received SIGHUP, reloading configuration files");
-		SignalChildren(SIGHUP);
 		ProcessConfigFile(PGC_SIGHUP);
 #ifdef EXEC_BACKEND
 		write_nondefault_variables(PGC_SIGHUP);
 #endif
+		SignalChildren(SIGHUP);
 		load_hba();
 		load_ident();
 	}
-- 
GitLab