Fix vacuum so that autovacuum is really not cancelled when doing an emergency
Alvaro Herrera <alvherre@alvh.no-ip.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/vacuum.c | modified | +17 −6 |
| src/backend/postmaster/autovacuum.c | modified | +5 −11 |
| src/backend/tcop/utility.c | modified | +2 −2 |
| src/include/commands/vacuum.h | modified | +2 −2 |