|
5 | 5 | * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group |
6 | 6 | * Portions Copyright (c) 1994, Regents of the University of California |
7 | 7 | * |
8 | | - * $PostgreSQL: pgsql/src/bin/scripts/vacuumdb.c,v 1.25 2009/02/26 16:02:39 petere Exp $ |
| 8 | + * $PostgreSQL: pgsql/src/bin/scripts/vacuumdb.c,v 1.26 2009/04/2802:37:09 momjian Exp $ |
9 | 9 | * |
10 | 10 | *------------------------------------------------------------------------- |
11 | 11 | */ |
@@ -197,10 +197,10 @@ vacuum_one_database(const char *dbname, bool full, bool verbose, bool analyze, |
197 | 197 | appendPQExpBuffer(&sql," FULL"); |
198 | 198 | if (verbose) |
199 | 199 | appendPQExpBuffer(&sql," VERBOSE"); |
200 | | -if (analyze) |
201 | | -appendPQExpBuffer(&sql," ANALYZE"); |
202 | 200 | if (freeze) |
203 | 201 | appendPQExpBuffer(&sql," FREEZE"); |
| 202 | +if (analyze) |
| 203 | +appendPQExpBuffer(&sql," ANALYZE"); |
204 | 204 | if (table) |
205 | 205 | appendPQExpBuffer(&sql," %s",table); |
206 | 206 | appendPQExpBuffer(&sql,";\n"); |
|