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

Commit00f325d

Browse files
committed
Subselects with =, >, etc.
Cleanup for vacuum help, manual page, and error message
1 parentf00a9e3 commit00f325d

File tree

5 files changed

+462
-10
lines changed

5 files changed

+462
-10
lines changed

‎src/backend/commands/vacuum.c‎

Lines changed: 4 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.59 1998/01/31 04:38:21 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.60 1998/02/03 19:26:33 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -135,7 +135,9 @@ vacuum(char *vacrel, bool verbose, bool analyze, List *va_spec)
135135
pmem=PortalGetVariableMemory(vc_portal);
136136
old=MemoryContextSwitchTo((MemoryContext)pmem);
137137

138-
Assert(va_spec==NIL||analyze);
138+
if (va_spec==NIL||analyze)
139+
elog(ERROR,"Can't vacuum columns, only tables. You can 'vacuum analyze' columns.");
140+
139141
foreach(le,va_spec)
140142
{
141143
char*col= (char*)lfirst(le);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp