From d2cf8b4776b7211446b0caf3284d48814a8e3ec3 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 18 Dec 1999 08:39:12 +0000 Subject: [PATCH] Cleanup vacuumdb --- src/bin/scripts/vacuumdb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/bin/scripts/vacuumdb b/src/bin/scripts/vacuumdb index ea5fe1697e..3261416df4 100644 --- a/src/bin/scripts/vacuumdb +++ b/src/bin/scripts/vacuumdb @@ -11,7 +11,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/vacuumdb,v 1.5 1999/12/18 08:34:50 momjian Exp $ +# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/vacuumdb,v 1.6 1999/12/18 08:39:12 momjian Exp $ # #------------------------------------------------------------------------- @@ -39,8 +39,6 @@ do --host=*) PSQLOPT="$PSQLOPT -h "`echo $1 | sed 's/^--host=//'` ;; - --alldb|-a) - dbname="`psql $PASSWDOPT $AUTHOPT $PGHOSTOPT $PGPORTOPT -q -t -A -d template1 -c 'SELECT datname FROM pg_database'`";; --port|-p) PSQLOPT="$PSQLOPT -p $2" shift;; @@ -87,6 +85,9 @@ do --analyze|-z) analyze="ANALYZE " ;; + --alldb|-a) + dbname="`psql $PASSWDOPT $AUTHOPT $PGHOSTOPT $PGPORTOPT -q -t -A -d template1 -c 'SELECT datname FROM pg_database'`" + ;; --table|-t) table="$2" shift;; -- 2.40.0