Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb3dbc8f

Browse files
committed
In VACUUM, FREEZE must be before ANALYZE; fix this in vacuumdb. Docs
are already correct.
1 parentba36c48 commitb3dbc8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/bin/scripts/vacuumdb.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
66
* Portions Copyright (c) 1994, Regents of the University of California
77
*
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 $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -197,10 +197,10 @@ vacuum_one_database(const char *dbname, bool full, bool verbose, bool analyze,
197197
appendPQExpBuffer(&sql," FULL");
198198
if (verbose)
199199
appendPQExpBuffer(&sql," VERBOSE");
200-
if (analyze)
201-
appendPQExpBuffer(&sql," ANALYZE");
202200
if (freeze)
203201
appendPQExpBuffer(&sql," FREEZE");
202+
if (analyze)
203+
appendPQExpBuffer(&sql," ANALYZE");
204204
if (table)
205205
appendPQExpBuffer(&sql," %s",table);
206206
appendPQExpBuffer(&sql,";\n");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp