On Fri, Nov 4, 2011 at 2:17 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Now, heap_page_prune is in a slightly different place, because it
> doesn't actually know whether the current backend is going to make an
> insertion or update in the page. If it did know that was going to
> happen, then the analogy would be exact.
OK.
> In any case, the comment in heap_page_prune is ignoring the probability
> that VACUUM will eventually visit the page and then update the FSM.
> That ought to be factored into any discussion of what to do here.
True. Unfortunately, I have no intuition on what the right thing to
do is, here.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company