1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
Subject: pgpool_setup + pg_md5 path
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877851
--- a/src/test/pgpool_setup.in
+++ b/src/test/pgpool_setup.in
@@ -1211,10 +1211,10 @@ if [ -f $PGPOOLDIR/pcp.conf.sample ];the
cp $PGPOOLDIR/pcp.conf.sample etc/pcp.conf
fi
echo -n "${WHOAMI}:" >> etc/pcp.conf
-$PGPOOL_INSTALL_DIR/bin/pg_md5 $WHOAMI >> etc/pcp.conf
+$PGPOOL_INSTALL_DIR/sbin/pg_md5 $WHOAMI >> etc/pcp.conf
# create pool_passwd
-$PGPOOL_INSTALL_DIR/bin/pg_md5 -m -f etc/pgpool.conf -u $WHOAMI $WHOAMI
+$PGPOOL_INSTALL_DIR/sbin/pg_md5 -m -f etc/pgpool.conf -u $WHOAMI $WHOAMI
#-------------------------------------------
# if streaming replication mode, we need to create data1 and so on, by
--- a/src/test/regression/tests/054.postgres_fdw/test.sh
+++ b/src/test/regression/tests/054.postgres_fdw/test.sh
@@ -43,7 +43,7 @@ EOF
# detach node #1 so that pgpool does not access
# postgres_fdw. Otherwise it will go into an infinite loop.
-$PGPOOL_INSTALL_DIR/bin/pcp_detach_node -w -h localhost -p $PCP_PORT -n 1
+$PGPOOL_INSTALL_DIR/sbin/pcp_detach_node -w -h localhost -p $PCP_PORT -n 1
if [ $? != 0 ];then
echo "pcp_detach_node failed"
|