Re: [BUGS] BUG #1502: hash_seq_search might return removed entry

2005-02-27 Thread Thomas Hallgren
Tom Lane wrote: Thomas Hallgren <[EMAIL PROTECTED]> 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 ta

Re: [BUGS] BUG #1502: hash_seq_search might return removed entry

2005-02-27 Thread Thomas Hallgren
Bruce Momjian wrote: Thomas Hallgren wrote: Tom Lane wrote: "Thomas" <[EMAIL PROTECTED]> writes: The hash_seq_search keeps track of what element that it should return next in a HASH_SEQ_STATUS struct when it peruses a bucket. Removing that element from the table won't chan

Re: [BUGS] BUG #1502: hash_seq_search might return removed entry

2005-02-23 Thread Thomas Hallgren
Commit_Portals doesn't avoid this problem and the end result for me is the same regardless of where the error is. I can't drop portals using a ExprContextCallback and I'd like to know the best way to fix it. I can contribute a patch but I want you to decide what needs to be fi