Re: Race conditions, race conditions! - Mailing list pgsql-hackers

From Qingqing Zhou
Subject Re: Race conditions, race conditions!
Date
Msg-id dds5p3$30ao$1@news.hub.org
Whole thread Raw
In response to Re: Race conditions, race conditions!  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
"Tom Lane" <tgl@sss.pgh.pa.us> writes:
>
> This patch is utterly wrong.  Please revert it.
>
> This is entirely likely to find the same non-BM_VALID buffer that was
> assigned in the first iteration.
>

Yes, Tom is right. A relation extension might find a non-BM_VALID buffer
left by previous failed relation extension.

Regards,
Qingqing




pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: ARRAY(subquery) volatility
Next
From: Andrew Piskorski
Date:
Subject: Re: Testing of MVCC