From adc4e1e6353bfda442c23a32f172eb42c649c495 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Fri, 14 Mar 2008 17:25:59 +0000 Subject: Fix vacuum so that autovacuum is really not cancelled when doing an emergency job (i.e. to prevent Xid wraparound problems.) Bug reported by ITAGAKI Takahiro in 20080314103837.63D3.52131E4D@oss.ntt.co.jp, though I didn't use his patch. --- src/backend/tcop/utility.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/tcop/utility.c') diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 295178c7974..fbd8f0d5643 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.289 2008/01/01 19:45:52 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/tcop/utility.c,v 1.290 2008/03/14 17:25:58 alvherre Exp $ * *------------------------------------------------------------------------- */ @@ -1032,7 +1032,7 @@ ProcessUtility(Node *parsetree, break; case T_VacuumStmt: - vacuum((VacuumStmt *) parsetree, NIL, NULL, isTopLevel); + vacuum((VacuumStmt *) parsetree, NIL, NULL, false, isTopLevel); break; case T_ExplainStmt: -- cgit v1.2.3