Re: Block-level CRC checks - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Block-level CRC checks
Date
Msg-id 4922FC04.80303@enterprisedb.com
Whole thread Raw
In response to Re: Block-level CRC checks  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Block-level CRC checks  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Block-level CRC checks
Next
From: Aidan Van Dyk
Date:
Subject: Re: Block-level CRC checks