[pgpool-committers: 5088] pgpool: Unbreak pgpool_setup and regression tests against pre-10 Postgr

Tatsuo Ishii ishii at sraoss.co.jp
Thu Aug 23 21:21:20 JST 2018


Unbreak pgpool_setup and regression tests against pre-10 PostgreSQL.

Commit 26446126f36dcd34ea9032ac934aafe63acc0eee broke pgpool_setup and
regression tests against pre-10 PostgreSQL because they unconditionally
use feature introduced in PostgreSQL 10, i.e. SCRAM authentication. To
fix this, check PostgreSQL version using initdb -v and not use
PostgreSQL 10 specific feature if PostgreSQL 9.6 or earlier is used.
In this case regression tests 020, 021 and 022 always success.

Branch
------
master

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

Modified Files
--------------
src/test/pgpool_setup                              | 31 ++++++++++++++++------
src/test/regression/regress.sh                     | 12 +++++----
.../020.allow_clear_text_frontend_auth/test.sh     |  6 +++++
.../regression/tests/021.pool_passwd_auth/test.sh  |  6 +++++
.../tests/022.pool_passwd_alternative_auth/test.sh |  6 +++++
5 files changed, 48 insertions(+), 13 deletions(-)



More information about the pgpool-committers mailing list