[pgpool-committers: 6609] pgpool: Unify master_slave_mode, master_slave_sub_mode and replication_
Tatsuo Ishii
ishii at sraoss.co.jp
Mon Mar 9 20:18:49 JST 2020
Unify master_slave_mode, master_slave_sub_mode and replication_mode into backend_clustering_mode.
Previous "running mode" concept was confusing and hard to
understand. For example, each running mode is actually mutually
exclusive but it was possible to use some of modes altogether. Of
course the result was chaos.
Now the "running mode" is renamed to "clustering mode" and the
configuration variable is unified into single
"backend_clustering_mode". It is an enum type and possible values are:
streaming_replication', 'native_replication', 'logical_replication',
'slony' or 'raw'.
Documents are changed accordingly.
Note that old config variables are still remaining in
pool_config_variables.c. So it is possible to read old config
variables and replace them into new config variable
backend_clustering_mode to mitigate the migration pain from the old
configs to new configs, but I am not sure that is worth the problem.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=f0fe8fe9bb73e6263249217814a88d2041b399c3
Modified Files
--------------
doc.ja/src/sgml/connection-settings.sgml | 248 ++----
doc.ja/src/sgml/example-basic.sgml | 2 +-
doc.ja/src/sgml/installation.sgml | 6 +-
doc.ja/src/sgml/loadbalance.sgml | 14 +-
doc.ja/src/sgml/release-3.7.sgml | 2 +-
doc.ja/src/sgml/runtime.sgml | 37 +-
doc.ja/src/sgml/stream-check.sgml | 2 +-
doc/src/sgml/connection-settings.sgml | 200 ++---
doc/src/sgml/example-basic.sgml | 2 +-
doc/src/sgml/installation.sgml | 12 +-
doc/src/sgml/loadbalance.sgml | 3 +-
doc/src/sgml/runtime.sgml | 16 +-
doc/src/sgml/stream-check.sgml | 4 +-
src/Makefile.am | 6 +-
src/config/pool_config_variables.c | 20 +
src/include/pool.h | 15 +
src/include/pool_config.h | 10 +
src/sample/pgpool.conf.sample | 850 +--------------------
src/sample/pgpool.conf.sample-logical | 15 +-
src/sample/pgpool.conf.sample-raw | 836 ++++++++++++++++++++
src/sample/pgpool.conf.sample-replication | 10 +-
...ample-master-slave => pgpool.conf.sample-slony} | 20 +-
src/sample/pgpool.conf.sample-stream | 20 +-
src/test/pgpool_setup | 4 +-
.../tests/010.rewrite_timestamp/timestamp/main.c | 2 +-
25 files changed, 1070 insertions(+), 1286 deletions(-)
More information about the pgpool-committers
mailing list