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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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