[pgpool-committers: 6056] pgpool: Fix pgpool_setup to deal with PostgreSQL 9.1.
Tatsuo Ishii
ishii at sraoss.co.jp
Wed Aug 28 14:59:30 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
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=8b0e1ff893e064b2a58c6b12a50c41aeed12e127
Modified Files
--------------
src/test/pgpool_setup | 42 +++++++++++++++++++++++++++++++++---------
1 file changed, 33 insertions(+), 9 deletions(-)
More information about the pgpool-committers
mailing list