vacuum as flags in PGPROC - Mailing list pgsql-patches

From Alvaro Herrera
Subject vacuum as flags in PGPROC
Date
Msg-id 20071023214551.GW18013@alvh.no-ip.org
Whole thread Raw
Responses Re: vacuum as flags in PGPROC  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: uuid.h on Debian
Next
From: "Pavel Stehule"
Date:
Subject: Re: EXECUTE USING for plpgsql (for 8.4)