Re: visibility maps - Mailing list pgsql-hackers

From Pavan Deolasee
Subject Re: visibility maps
Date
Msg-id 2e78013d0812060646rbee1676g76e54e3c0d55d818@mail.gmail.com
Whole thread Raw
In response to Re: visibility maps  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: visibility maps
List pgsql-hackers


On Sat, Dec 6, 2008 at 7:57 PM, Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> wrote:

Umm, what non-atomic state could the bit be in? Half-set, half-cleared? Or do you think that if some other bit in proximity is changed, the other bit would temporarily flip 0->1->0, or something like that? I don't think that should happen.


Since the lock is not held, the bit can be flipped while we are reading, isn't it ? IOW, the test is not reliable is what I fear.

Thanks,
Pavan

--
Pavan Deolasee
EnterpriseDB     http://www.enterprisedb.com

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: visibility maps and heap_prune
Next
From: Heikki Linnakangas
Date:
Subject: Re: visibility maps