* debian/pg_clonecluster_patroni: quote connstr in pg_createcluster

invocation (Closes: #953623).
This commit is contained in:
Michael Banck 2020-03-18 20:20:42 +01:00
parent 61e86f0980
commit f871088904
2 changed files with 4 additions and 1 deletions

3
debian/changelog vendored
View file

@ -1,5 +1,8 @@
patroni (1.6.4-2) UNRELEASED; urgency=medium
[ Michael Banck ]
* debian/pg_clonecluster_patroni: quote connstr in pg_createcluster
invocation (Closes: #953623).
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Mon, 10 Feb 2020 10:03:07 +0100

View file

@ -40,5 +40,5 @@ then
pg_dropcluster $VERSION $CLUSTER
fi
pg_createcluster --start-conf=manual $VERSION $CLUSTER && rm -rf $DATADIR && pg_basebackup --pgdata $DATADIR -X stream --dbname=$CONNSTR
pg_createcluster --start-conf=manual $VERSION $CLUSTER && rm -rf $DATADIR && pg_basebackup --pgdata $DATADIR -X stream --dbname="$CONNSTR"
exit $?