mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Subselects with =, >, etc.
Cleanup for vacuum help, manual page, and error message
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.59 1998/01/31 04:38:21 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.60 1998/02/03 19:26:33 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -135,7 +135,9 @@ vacuum(char *vacrel, bool verbose, bool analyze, List *va_spec)
|
||||
pmem = PortalGetVariableMemory(vc_portal);
|
||||
old = MemoryContextSwitchTo((MemoryContext) pmem);
|
||||
|
||||
Assert(va_spec == NIL || analyze);
|
||||
if (va_spec == NIL || analyze)
|
||||
elog(ERROR,"Can't vacuum columns, only tables. You can 'vacuum analyze' columns.");
|
||||
|
||||
foreach(le, va_spec)
|
||||
{
|
||||
char *col = (char *) lfirst(le);
|
||||
|
Reference in New Issue
Block a user