With pgpool 3.0.4,

It wasnt detecting my primary backend. (9.0.3 streaming backend, one primary
one hot standby).


This patch worked for me. Perhaps its completely wrong, but it now properly
detects my primary backend.

--- pgpool-II-3.0.4/main.c 2011-05-25 18:13:16.000000000 +0100
+++ pgpool-II-3.0.4.new/main.c 2011-08-28 21:24:08.000000000 +0100
@@ -2290,7 +2290,7 @@
  for(i=0;i<NUM_BACKENDS;i++)
  {
  if (!VALID_BACKEND(i))
- continue;
+ break;

  /*
  * Check to see if this is a standby node or not.
_______________________________________________
Pgpool-general mailing list
[email protected]
http://pgfoundry.org/mailman/listinfo/pgpool-general

Reply via email to