Re: BUG #1502: hash_seq_search might return removed entry - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1502: hash_seq_search might return removed entry
Date
Msg-id 12029.1109522734@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #1502: hash_seq_search might return removed entry  (Thomas Hallgren <thhal@mailblocks.com>)
Responses Re: BUG #1502: hash_seq_search might return removed entry  (Thomas Hallgren <thhal@mailblocks.com>)
List pgsql-bugs
Thomas Hallgren <thhal@mailblocks.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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #1510: Indexes on boolean fields
Next
From: "rafal"
Date:
Subject: BUG #1509: odbc driver