summaryrefslogtreecommitdiff
path: root/databases/pgcluster/files/patch-postmaster.c
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2004-02-25 13:47:27 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2004-02-25 13:47:27 +0000
commitf18b1ceaea3d1b56ad15395efce4064344557ae9 (patch)
tree9b55689b9e8cf1d39f88654efc4ccfcea1eb2e30 /databases/pgcluster/files/patch-postmaster.c
parentUpdate to 0.11 (diff)
o Fix some bugs reported on ML.
o Fix more style bugs in debug message. o Add internal function to postmaster which returns current replication server. o Add new packet handler to pgreplicate which returns cluster node status information. o Add check scripts for nagios. These scripts may be useful, but not intended to officially supported by me. I'll make them as another port when they become stable.
Notes
Notes: svn path=/head/; revision=102097
Diffstat (limited to 'databases/pgcluster/files/patch-postmaster.c')
-rw-r--r--databases/pgcluster/files/patch-postmaster.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/databases/pgcluster/files/patch-postmaster.c b/databases/pgcluster/files/patch-postmaster.c
new file mode 100644
index 000000000000..61a7f5afd458
--- /dev/null
+++ b/databases/pgcluster/files/patch-postmaster.c
@@ -0,0 +1,19 @@
+--- src/backend/postmaster/postmaster.c.orig.1 Mon Feb 23 15:33:29 2004
++++ src/backend/postmaster/postmaster.c Mon Feb 23 15:34:53 2004
+@@ -610,7 +610,7 @@
+ */
+ checkDataDir(potential_DataDir); /* issues error messages */
+ SetDataDir(potential_DataDir);
+-
++ ProcessConfigFile(PGC_POSTMASTER);
+ #ifdef USE_REPLICATION
+ PGR_Get_Conf_Data( potential_DataDir, CLUSTER_CONF_FILE );
+ PGR_Init_Replicate_Server_Data();
+@@ -627,7 +627,6 @@
+ }
+ }
+ #endif /* USE_REPLICATION */
+- ProcessConfigFile(PGC_POSTMASTER);
+
+ /*
+ * Check for invalid combinations of GUC settings.