[pgpool-committers: 4572] pgpool: Revert "Fix pgpool child process segfault when ALWAYS_MASTER is
Tatsuo Ishii
ishii at postgresql.org
Tue Feb 27 14:02:40 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
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=6b757807196dde66e21a28c09caa4d1d68bed4c2
Modified Files
--------------
src/include/pool.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the pgpool-committers
mailing list