Re: Fwd: Avoid endless futile table locks in vacuuming. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fwd: Avoid endless futile table locks in vacuuming.
Date
Msg-id 29776.1451513798@sss.pgh.pa.us
Whole thread Raw
In response to Fwd: Avoid endless futile table locks in vacuuming.  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-hackers
Jeff Janes <jeff.janes@gmail.com> writes:
> So like the attached, although it is a bit weird to call
> lazy_check_needs_freeze if , under !scan_all, we don't actually care
> about whether it needs freezing but only the hastup.

I think this misses unpinning the buffer in the added code path.
I rearranged to avoid that, did some other cosmetic work, and committed.
        regards, tom lane



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: More thorough planning for OLAP queries (was: [PATCH] Equivalence Class Filters)
Next
From: Alvaro Herrera
Date:
Subject: Re: rows estimate in explain analyze for the BRIN index