[pgpool-committers: 6055] pgpool: Fix pgpool_setup to deal with PostgreSQL 9.1.

Tatsuo Ishii ishii at sraoss.co.jp
Wed Aug 28 14:59:25 JST 2019


Fix pgpool_setup to deal with PostgreSQL 9.1.

"---data-checksums" was unconditionally added to initdb's arg but
PostgreSQL 9.1's initdb does not have the option. To solve the issue,
internal variable $PGVERSION now represents "major version" * 100:
e.g. 120 for PostgreSQL 12.x (including 12beta), 91 for PostgreSQL
9.1.x, so that pgpool_setup can check if the option can be added to
initdb options.

Branch
------
V4_0_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=e11ef8ca41dec3723ff4b7ff9cbfd1da1de0cf25

Modified Files
--------------
src/test/pgpool_setup | 42 +++++++++++++++++++++++++++++++++---------
1 file changed, 33 insertions(+), 9 deletions(-)



More information about the pgpool-committers mailing list