1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Modify vacuum() to accept a single relation OID instead of a list (which we

always pass as a single element anyway.)  In passing, fix an outdated comment.
This commit is contained in:
Alvaro Herrera
2008-06-05 15:47:32 +00:00
parent f23b79147b
commit 9319fd89e1
4 changed files with 27 additions and 34 deletions

View File

@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/tcop/utility.c,v 1.291 2008/03/19 18:38:30 tgl Exp $
* $PostgreSQL: pgsql/src/backend/tcop/utility.c,v 1.292 2008/06/05 15:47:32 alvherre Exp $
*
*-------------------------------------------------------------------------
*/
@ -1032,7 +1032,8 @@ ProcessUtility(Node *parsetree,
break;
case T_VacuumStmt:
vacuum((VacuumStmt *) parsetree, NIL, NULL, false, isTopLevel);
vacuum((VacuumStmt *) parsetree, InvalidOid, NULL, false,
isTopLevel);
break;
case T_ExplainStmt: