[pgpool-committers: 6869] pgpool: New feature: dml dml object level load balance support

Muhammad Usama m.usama at gmail.com
Tue Jul 21 20:05:02 JST 2020


New feature: dml dml object level load balance support

Patch contributed by Sunbiao<sunbiao at highgo.com> and
some enhancements done by me

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=761d30a17d04350fb3a67bce43440731c8ba3c90
Author: Muhammad Usama <m.usama at HighGo.ca>

Modified Files
--------------
doc/src/sgml/loadbalance.sgml                      |  54 ++
src/config/pool_config_variables.c                 |  96 ++++
src/context/pool_query_context.c                   | 196 +++++++
src/context/pool_session_context.c                 |  31 +-
src/include/context/pool_query_context.h           |   1 +
src/include/context/pool_session_context.h         |   7 +
src/include/pool_config.h                          |  32 +-
src/protocol/pool_proto_modules.c                  |  10 +
src/sample/pgpool.conf.sample-raw                  |  41 +-
src/sample/pgpool.conf.sample-replication          |  41 +-
src/sample/pgpool.conf.sample-slony                |  41 +-
src/sample/pgpool.conf.sample-snapshot             |  41 +-
src/sample/pgpool.conf.sample-stream               |  41 +-
.../expected/disable-load-balance-dml.data         | 274 ++++++++++
.../dml-adaptive-test/extended-query-test/test.sh  | 570 +++++++++++++++++++++
.../test_data_files/disable-load-balance-dml.data  | 258 ++++++++++
.../dml-adaptive-test/simple-query-test/test.sh    | 519 +++++++++++++++++++
src/utils/pool_process_reporting.c                 |   5 +
src/utils/pool_select_walker.c                     |   2 +
19 files changed, 2216 insertions(+), 44 deletions(-)



More information about the pgpool-committers mailing list