* debian/pg_clonecluster_patroni: Supress pg_createcluster output as it can
be misleading.
This commit is contained in:
parent
7f96403eba
commit
1824929f99
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -1,5 +1,8 @@
|
|||
patroni (2.0.1-3) UNRELEASED; urgency=medium
|
||||
|
||||
[ Michael Banck ]
|
||||
* debian/pg_clonecluster_patroni: Supress pg_createcluster output as it can
|
||||
be misleading.
|
||||
|
||||
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Thu, 10 Dec 2020 13:33:54 +0100
|
||||
|
||||
|
|
2
debian/pg_clonecluster_patroni
vendored
2
debian/pg_clonecluster_patroni
vendored
|
@ -40,5 +40,5 @@ then
|
|||
pg_dropcluster $VERSION $CLUSTER
|
||||
fi
|
||||
|
||||
pg_createcluster --start-conf=manual --datadir=$DATADIR $VERSION $CLUSTER && rm -rf $DATADIR && /usr/lib/postgresql/$VERSION/bin/pg_basebackup --pgdata $DATADIR -X stream --dbname="$CONNSTR"
|
||||
pg_createcluster --start-conf=manual --datadir=$DATADIR $VERSION $CLUSTER > /dev/null && rm -rf $DATADIR && /usr/lib/postgresql/$VERSION/bin/pg_basebackup --pgdata $DATADIR -X stream --dbname="$CONNSTR"
|
||||
exit $?
|
||||
|
|
Loading…
Reference in a new issue