| From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
|---|---|
| To: | Patches <pgsql-patches(at)postgresql(dot)org> |
| Subject: | vacuum as flags in PGPROC |
| Date: | 2007-10-23 21:45:51 |
| Message-ID: | 20071023214551.GW18013@alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-patches |
In the spirit of incremental improvement, here is a patch that turns the
couple of bools in PGPROC into a bitmask, and associated fallout.
This patch also contains a change to make a cancelled autovacuum
continue with the schedule (indeed to continue with the schedule on any
error), rather than aborting completely.
My idea is to add a flag for "analyze" and another for "is for xid
wraparound", and to build on that for the cancel-autovac-on-deadlock-
checker project, as submitted by Simon.
--
Alvaro Herrera Valdivia, Chile ICBM: S 39º 49' 18.1", W 73º 13' 56.4"
"El sudor es la mejor cura para un pensamiento enfermo" (Bardia)
| Attachment | Content-Type | Size |
|---|---|---|
| pgproc-vacuum-flags.patch | text/x-diff | 22.2 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Pavel Stehule | 2007-10-23 21:57:29 | Re: EXECUTE USING for plpgsql (for 8.4) |
| Previous Message | Tom Lane | 2007-10-23 21:40:37 | Re: uuid.h on Debian |