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

From Thomas
Subject BUG #1502: hash_seq_search might return removed entry
Date
Msg-id 20050222160135.A8677F0B05@svr2.postgresql.org
Whole thread Raw
Responses Re: BUG #1502: hash_seq_search might return removed entry  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      1502
Logged by:          Thomas
Email address:      thhal@mailblocks.com
PostgreSQL version: 8.0.1
Operating system:   N/A
Description:        hash_seq_search might return removed entry
Details:

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 change anything since the struct remains unaffected. It
still holds onto that element and hence, will return it on next iteration.

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #1497: Default permissions allow any user to create objects in any database
Next
From: "nagash"
Date:
Subject: BUG #1500: child dead