Re: The vacuum-ignore-vacuum patch - Mailing list pgsql-patches

From Alvaro Herrera
Subject Re: The vacuum-ignore-vacuum patch
Date
Msg-id 20060724222729.GA11023@surnet.cl
Whole thread Raw
In response to Re: The vacuum-ignore-vacuum patch  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Cc: pgsql-hackers removed, as this mail contains a patch.

Tom Lane wrote:
> Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> > Hannu Krossing asked me about his patch to ignore transactions running
> > VACUUM LAZY in other vacuum transactions.  I attach a version of the
> > patch updated to the current sources.
>
> nonInVacuumXmin seems useless ... perhaps a vestige of some earlier
> version of the computation?

Yup -- I checked that code and found out that nonInVacuumXmin can be
taken out as it's not used anywhere.  One upside of this is that taking
it out means we can remove all diffs to GetSnapshotData.  New patch
attached; it's a bit smaller than the last one.

I'm currently testing it.  Since it appears there are no further
objections, I intend to commit it.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

Attachment

pgsql-patches by date:

Previous
From: Joe Conway
Date:
Subject: Re: Values list-of-targetlists patch for comments (was Re:
Next
From: "Satoshi Nagayasu"
Date:
Subject: Re: pgstattuple extension for indexes