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:36:36 +0000 (13:36 +0900)
It generated redundant psql definition line.

src/test/pgpool_setup.in

index 1e382b8bca4bd88d233c5a4187f4072426787c87..48897457f42a3185acd44e89314ab942467ddc8a 100755 (executable)
@@ -547,7 +547,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@" \