diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2008-03-14 17:25:59 +0000 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2008-03-14 17:25:59 +0000 |
commit | adc4e1e6353bfda442c23a32f172eb42c649c495 (patch) | |
tree | 35a32e1811f1207ccd98a4e7db2c17d6b8d9b0de /src/backend/tcop/utility.c | |
parent | be5d6df346241a82e38b50447f8a337fa7b9700c (diff) |
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.
Diffstat (limited to 'src/backend/tcop/utility.c')
-rw-r--r-- | src/backend/tcop/utility.c | 4 |
1 files changed, 2 insertions, 2 deletions
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: |