[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.



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

More information about the pgpool-committers mailing list