Alvaro Herrera wrote:
Right now we flip hint bits without taking any kind of lock on the page.
That's not quite true. You need to hold a shared lock on heap page to examine the visibility of a tuple, and that's when the hint bits are set. So we always hold at least a shared lock on the page while hint bits are set.
-- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers