pgpool2.git / summary / log / commit / refs
commit a11f2a3f829aa2c319eb67e29de618206640c935
Author: Muhammad Usama <m.usama@gmail.com>
Date: Thu Oct 30 11:24:38 2014 +0000
Fix for "[pgpool-hackers: 629] Sefault in 3.4rc1"
pgpool-II was ignoring the failure and continues forward when it fails to connect
to the backend with failover on backend error is disallowed, Exiting the current
session in this case was the correct option.
src/protocol/pool_connection_pool.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/protocol/pool_connection_pool.c b/src/protocol/pool_connection_pool.c
index 98bcfd752..76c647069 100644
--- a/src/protocol/pool_connection_pool.c
+++ b/src/protocol/pool_connection_pool.c
@@ -832,7 +832,6 @@ static POOL_CONNECTION_POOL *new_connection(POOL_CONNECTION_POOL *p)
ereport(LOG,
(errmsg("creating new connection to backend"),
errdetail("not executing failover because fail_over_on_backend_error is off")));
- continue;
}
child_exit(1);
}
[parent: d0319aad2946]