diff options
author | Bruce Momjian | 2009-04-28 02:37:09 +0000 |
---|---|---|
committer | Bruce Momjian | 2009-04-28 02:37:09 +0000 |
commit | 7759dc8cf6a45f91f6757ea03d0e06c37664db63 (patch) | |
tree | 91175f565c692f3b9bc0340fdb5b40519f912cd8 | |
parent | 2bb493ea12f7967f4ad3d2fa1c7e6e3ad41eb625 (diff) |
In VACUUM, FREEZE must be before ANALYZE; fix this in vacuumdb. Docs
are already correct.
-rw-r--r-- | src/bin/scripts/vacuumdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/scripts/vacuumdb.c b/src/bin/scripts/vacuumdb.c index 4691a67db0..875a9d32fe 100644 --- a/src/bin/scripts/vacuumdb.c +++ b/src/bin/scripts/vacuumdb.c @@ -197,10 +197,10 @@ vacuum_one_database(const char *dbname, bool full, bool verbose, bool analyze, appendPQExpBuffer(&sql, " FULL"); if (verbose) appendPQExpBuffer(&sql, " VERBOSE"); - if (analyze) - appendPQExpBuffer(&sql, " ANALYZE"); if (freeze) appendPQExpBuffer(&sql, " FREEZE"); + if (analyze) + appendPQExpBuffer(&sql, " ANALYZE"); if (table) appendPQExpBuffer(&sql, " %s", table); appendPQExpBuffer(&sql, ";\n"); |