[pgpool-committers: 2129] pgpool: Add new parameter "allow_sql_comments".

Tatsuo Ishii ishii at postgresql.org
Sat Aug 23 22:50:57 JST 2014


Add new parameter "allow_sql_comments".

SQL comments (/* ... */) effectively prevent load balancing and query
cache because pgpool-II strictly checks if the query starts with
"SELECT...". The new parameter removes the restriction and allows to
use SQL comments without disturbing load balancing and query
cache. For backward compatibility sake, the default is off.

Branch
------
master

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

Modified Files
--------------
doc/pgpool-en.html                                 |   17 ++++-
doc/pgpool-ja.html                                 |   17 ++++-
src/config/pool_config.l                           |   17 +++++
src/include/pool_config.h                          |    7 ++
src/include/protocol/pool_proto_modules.h          |    4 +-
src/protocol/pool_process_query.c                  |   40 +++++-----
src/sample/pgpool.conf.sample                      |    5 ++
src/sample/pgpool.conf.sample-master-slave         |    5 ++
src/sample/pgpool.conf.sample-replication          |    5 ++
src/sample/pgpool.conf.sample-stream               |    5 ++
src/test/regression/tests/008.sql_comments/test.sh |   78 ++++++++++++++++++++
src/utils/pool_process_reporting.c                 |    5 ++
12 files changed, 184 insertions(+), 21 deletions(-)



More information about the pgpool-committers mailing list