Fix pgpool_recovery_pitr generation pgpool_setup.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Fri, 22 Jan 2021 04:33:07 +0000 (13:33 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Fri, 22 Jan 2021 04:44:58 +0000 (13:44 +0900)
It generated redundant psql definition line.

src/test/pgpool_setup.in

index c691a08f29d1399747c6ffdec0a07134fac7aaba..8b0645ef11f455ff83458810dec93a2d50a53427 100644 (file)
@@ -658,7 +658,7 @@ EOF
 # replace some variables in the script
 #-------------------------------------------
 /bin/sed -i \
-       -e "/__PGBIN__/s@__PGBIN__@$PGBIN@p" \
+       -e "/__PGBIN__/s@__PGBIN__@$PGBIN@" \
        -e "/__DATADIR_BASE__/s@__DATADIR_BASE__@$BASEDIR@" \
        -e "/__PGSUPERUSER__/s/__PGSUPERUSER__/$WHOAMI/" \
        -e "/__ARCHDIR__/s@__ARCHDIR__@$BASEDIR/archivedir@" \