[pgpool-committers: 4579] pgpool: Revert "Fix pgpool child process segfault when ALWAYS_MASTER is
Tatsuo Ishii
ishii at postgresql.org
Tue Feb 27 14:19:44 JST 2018
Revert "Fix pgpool child process segfault when ALWAYS_MASTER is on."
This reverts commit 9022ff842fb5dbbe06e2f2f4cf38fadf47b592da.
With the commit, write queries are always sent to node 0 even if the
primary node is not 0 because PRIMARY_NODE_ID macro returns
REAL_MASTER_NODE_ID, which is usually 0. Thus write queries are failed
with:
ERROR: cannot execute INSERT in a read-only transaction
Branch
------
V3_7_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=e8baa3f0ee1a24f833cfa6cc5d0104b5cefe7b04
Modified Files
--------------
src/include/pool.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the pgpool-committers
mailing list