Re: Interesting glitch in autovacuum - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Interesting glitch in autovacuum
Date
Msg-id 48C80D8C.3050301@enterprisedb.com
Whole thread Raw
In response to Re: Interesting glitch in autovacuum  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera wrote:
> I didn't know we were doing HOT pruning during vacuum; does
> it make sense?

Removing HOT-updated, dead tuples is a bit complicated. It needs to be 
done one HOT-chain at a time, and the root line pointer needs to be 
updated to the next live tuple in the chain. lazy_scan_heap() calls the 
regular pruning function heap_page_prune() to deal with those before 
doing the normal scan of line pointers.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Interesting glitch in autovacuum
Next
From: Simon Riggs
Date:
Subject: Re: Synchronous Log Shipping Replication