Commit d2cf8b47 authored by Bruce Momjian's avatar Bruce Momjian

Cleanup vacuumdb

parent 1c225764
......@@ -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;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment