projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bb493e
)
In VACUUM, FREEZE must be before ANALYZE; fix this in vacuumdb. Docs
author
Bruce Momjian
<bruce@momjian.us>
Tue, 28 Apr 2009 02:37:09 +0000
(
02:37
+0000)
committer
Bruce Momjian
<bruce@momjian.us>
Tue, 28 Apr 2009 02:37:09 +0000
(
02:37
+0000)
are already correct.
src/bin/scripts/vacuumdb.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/scripts/vacuumdb.c
b/src/bin/scripts/vacuumdb.c
index 4691a67db028abd311a56ae96b2aba4230087748..875a9d32fe5641d2df64a977ef2146561abe3b39 100644
(file)
--- 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");