[pgpool-committers: 3914] pgpool: Consider SHOW command as kind of a read query.
Tatsuo Ishii
ishii at postgresql.org
Fri Mar 31 12:58:07 JST 2017
Consider SHOW command as kind of a read query.
In streaming replication mode, if SHOW is issued then subsequent
SELECTs are sent to the primary node in an explicit transaction. This
is not a reasonable and unnecessary limitation.
Also fix hang when parse command returns error.
Branch
------
V3_5_STABLE
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=0c16dd17bd4a7e9c132e8571451c4c90135f145a
Modified Files
--------------
src/context/pool_query_context.c | 7 +++++++
src/protocol/CommandComplete.c | 9 +++++++++
src/protocol/pool_process_query.c | 4 ++++
src/protocol/pool_proto_modules.c | 28 ++++++++++++++++++++++++----
4 files changed, 44 insertions(+), 4 deletions(-)
More information about the pgpool-committers
mailing list