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

Commitbced35f

Browse files
committed
Vacuum parameter fix.
1 parent73867f7 commitbced35f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/commands/vacuum.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.60 1998/02/0319:26:33 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.61 1998/02/0321:57:27 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -135,7 +135,7 @@ vacuum(char *vacrel, bool verbose, bool analyze, List *va_spec)
135135
pmem=PortalGetVariableMemory(vc_portal);
136136
old=MemoryContextSwitchTo((MemoryContext)pmem);
137137

138-
if (va_spec==NIL||analyze)
138+
if (va_spec!=NIL&& !analyze)
139139
elog(ERROR,"Can't vacuum columns, only tables. You can 'vacuum analyze' columns.");
140140

141141
foreach(le,va_spec)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp