[pgpool-committers: 3912] 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_6_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=9cd2f8a276d497aacf1538e000d05229dac0ae13

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