Skip site navigation (1) Skip section navigation (2)

Re: SetBufferCommitInfoNeedsSave and race conditions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Pavan Deolasee" <pavan(dot)deolasee(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: SetBufferCommitInfoNeedsSave and race conditions
Date: 2007-06-28 18:16:06
Message-ID: 16992.1183054566@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
"Pavan Deolasee" <pavan(dot)deolasee(at)gmail(dot)com> writes:
> So we suspected an interaction between multiple processes each holding
> a SHARE lock and setting/checking different bits in the infomask and
> we could theoritically say that such interaction can potentially lead to
> missing hint bit updates.

Yeah.  This is in fact something that's been foreseen, but I guess it
didn't occur to anyone that those Asserts would fail.  I concur with
removing them.

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Patrick WelcheDate: 2007-06-28 18:16:51
Subject: write past chunk end in ExprContext / to_char
Previous:From: Pavan DeolaseeDate: 2007-06-28 17:49:22
Subject: SetBufferCommitInfoNeedsSave and race conditions

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group