Re: BUG #1502: hash_seq_search might return removed entry

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Hallgren <thhal(at)mailblocks(dot)com>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1502: hash_seq_search might return removed entry
Date: 2005-02-27 16:45:34
Message-ID: 12029.1109522734@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thomas Hallgren <thhal(at)mailblocks(dot)com> writes:
> Would such a patch be accepted?

Seems like a brute-force solution. I'd look first at whether
AtCommit_Portals could just restart its hashtable scan after
each deletion; if that seems too inefficient, modify the hash
table entries themselves to carry a "portal already deleted"
flag.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2005-02-27 16:49:34 Re: BUG #1510: Indexes on boolean fields
Previous Message Sergey Koshcheyev 2005-02-27 14:12:35 BUG #1510: Indexes on boolean fields