We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4abedc3 commit d5da254Copy full SHA for d5da254
src/pgpro-upgrade/pgpro_upgrade
@@ -45,7 +45,7 @@ if [ ! -f "${PGDATA}/global/pg_control" -a -f "${PGDATA}/postgresql.conf" ]; the
45
exit 1
46
fi
47
48
-CATVER=`${PGBIN}pg_controldata|sed -n '/Catalog version number:/s/^.*: *//p'`
+CATVER=`"${PGBIN}pg_controldata"|sed -n '/Catalog version number:/s/^.*: *//p'`
49
if [ "$CATVER" != $CATALOG_VERSION_NO ]; then
50
for v in $UPGRADABLE_CATVER; do
51
if [ "$CATVER" = "$v" ]; then
0 commit comments