[pgpool-committers: 3913] 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
------
master

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

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