[pgpool-committers: 2327] pgpool: Reorganize port numbers assigned in pgool_setup.

Tatsuo Ishii ishii at postgresql.org
Sat Nov 29 10:52:23 JST 2014


Reorganize port numbers assigned in pgool_setup.

Assign base port (11000 by default) to pgpool, base port + 1 to pcp,
port + 2 to PostgreSQL node0, port + 3 to PostgreSQL node1 and so on.
This assigns fixed port numbers to pgpool and pcp port, which makes
pgpool_setup user's life a little bit easier, because they don't need
to check README.port to make sure the pgpool and pcp port any more.

Some of regression tests uses immediate numeric port numbers and
adjusted to meet the change.

Branch
------
V3_4_STABLE

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

Modified Files
--------------
src/test/pgpool_setup                              |   26 ++++++++++++--------
.../tests/002.native_replication/test.sh           |    4 +--
src/test/regression/tests/003.failover/expected.r  |    4 +--
src/test/regression/tests/003.failover/expected.s  |    4 +--
src/test/regression/tests/004.watchdog/master.conf |    2 +-
.../regression/tests/004.watchdog/standby.conf     |    6 ++---
src/test/regression/tests/054.postgres_fdw/test.sh |   10 ++++----
.../regression/tests/055.backend_all_down/test.sh  |    2 +-
8 files changed, 32 insertions(+), 26 deletions(-)



More information about the pgpool-committers mailing list