File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1111#
1212#
1313# IDENTIFICATION
14- # $Header: /cvsroot/pgsql/src/bin/scripts/Attic/vacuumdb,v 1.14 2001/01/08 20:32:27 tgl Exp $
14+ # $Header: /cvsroot/pgsql/src/bin/scripts/Attic/vacuumdb,v 1.15 2001/01/08 23:02:36 tgl Exp $
1515#
1616# -------------------------------------------------------------------------
1717
@@ -142,7 +142,7 @@ if [ "$alldb" ]; then
142142 echo " $CMDNAME : cannot vacuum all databases and a specific one at the same time" 1>&2
143143 exit 1
144144 fi
145- dbname=` ${PATHNAME} psql $PSQLOPT -q -t -A -d template1 -c ' SELECT datname FROM pg_database' `
145+ dbname=` ${PATHNAME} psql $PSQLOPT -q -t -A -d template1 -c ' SELECT datname FROM pg_database WHERE datallowconn ' `
146146
147147elif [ -z " $dbname " ]; then
148148 echo " $CMDNAME : missing required argument: database name" 1>&2
You can’t perform that action at this time.
0 commit comments