summaryrefslogtreecommitdiff
path: root/src/backend/tcop/utility.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2008-06-05 15:47:32 +0000
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2008-06-05 15:47:32 +0000
commit9319fd89e10ccb2b697cdaacd4f037e2a517b508 (patch)
tree637d09bab5f8cb5e474c1a2c06aea6f638383d26 /src/backend/tcop/utility.c
parentf23b79147b404ca09f85811080c33e0f099ef52f (diff)
downloadpostgresql-9319fd89e10ccb2b697cdaacd4f037e2a517b508.tar.gz
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.
Diffstat (limited to 'src/backend/tcop/utility.c')
-rw-r--r--src/backend/tcop/utility.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index df3887b1dc..1bebfec182 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -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: