diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2009-10-16 10:38:55 +0000 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2009-10-16 10:38:55 +0000 |
commit | a04cb27ce38d752d133cc71db7d6dd01267069ff (patch) | |
tree | 78592cfbe36439b072836f6600567123e52048d9 | |
parent | 3db362edf348b2906747acbe37fc0eda1651c8f5 (diff) | |
download | postgresql-a04cb27ce38d752d133cc71db7d6dd01267069ff.tar.gz |
FREEZE and VERBOSE options were in wrong order in the VACUUM command that
vacuumdb produces. Per report by Thom Brown.
-rw-r--r-- | src/bin/scripts/vacuumdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/scripts/vacuumdb.c b/src/bin/scripts/vacuumdb.c index f35b6094a2..13081b4fc0 100644 --- a/src/bin/scripts/vacuumdb.c +++ b/src/bin/scripts/vacuumdb.c @@ -5,7 +5,7 @@ * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/bin/scripts/vacuumdb.c,v 1.26 2009/04/28 02:37:09 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/scripts/vacuumdb.c,v 1.26.2.1 2009/10/16 10:38:55 heikki Exp $ * *------------------------------------------------------------------------- */ @@ -195,10 +195,10 @@ vacuum_one_database(const char *dbname, bool full, bool verbose, bool analyze, appendPQExpBuffer(&sql, "VACUUM"); if (full) appendPQExpBuffer(&sql, " FULL"); - if (verbose) - appendPQExpBuffer(&sql, " VERBOSE"); if (freeze) appendPQExpBuffer(&sql, " FREEZE"); + if (verbose) + appendPQExpBuffer(&sql, " VERBOSE"); if (analyze) appendPQExpBuffer(&sql, " ANALYZE"); if (table) |