| From: | Thomas Hallgren <thhal(at)mailblocks(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| 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 17:06:03 |
| Message-ID: | thhal-0fpb9AkUNxycEfTL8c+al9q2zmIUknD@mailblocks.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Tom Lane wrote:
>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.
>
>
Yes, a static flag indicating that a deletion has occured will work fine
since all portals that has not been perused but not dropped now has an
InvalidSubTransactionId. I'll do it that way then.
Regards,
Thomas Hallgren
| From | Date | Subject | |
|---|---|---|---|
| Next Message | ZOUARI Fourat | 2005-02-27 19:14:50 | BUG #1511: RPM install, PHP5 |
| Previous Message | Tom Lane | 2005-02-27 16:49:34 | Re: BUG #1510: Indexes on boolean fields |