pgpool2.git / summary / log / commit / refs
commit a67c2bb2bfcc748bc7db62fb8580a87451d95890
Author: Tatsuo Ishii <ishii@sraoss.co.jp>
Date: Mon Sep 10 02:06:15 2018 +0000
Fix buildfarm error of 023.ssl_connection.
It seems CentOS6/7 recognizes "localhost" as IPv6 ::1.
2018-09-08 17:04:06: pid 21508: DETAIL: no pg_hba.conf entry for host "::1", user "postgres", database "postgres", SSL on
So add following line to pg_hba.conf.
host all all ::1/128 trust
Let's see if buildfarm still complains.
src/test/regression/tests/023.ssl_connection/test.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/test/regression/tests/023.ssl_connection/test.sh b/src/test/regression/tests/023.ssl_connection/test.sh
index 80b73291f..bd8b4b9e3 100755
--- a/src/test/regression/tests/023.ssl_connection/test.sh
+++ b/src/test/regression/tests/023.ssl_connection/test.sh
@@ -45,6 +45,9 @@ echo "backend_hostname0 = 'localhost'" >> etc/pgpool.conf
# connectins is being established is, look into the debug log.
echo "log_min_messages = debug5" >> etc/pgpool.conf
+# allow to access IPv6 localhost
+echo "host all all ::1/128 trust" >> data0/pg_hba.conf
+
source ./bashrc.ports
./startall
[parent: c9bb34a27220]