Andrew Dunstan <and...@dunslane.net> writes:
> On 04/04/2012 12:13 PM, Tom Lane wrote:
>> Does anyone feel that it's a bad idea that list entries are never
>> reclaimed?  In the worst case a transient load peak could result in
>> a long list that permanently adds search overhead.  Not sure if it's
>> worth the extra complexity to delete a list cell that's no longer
>> needed, rather than leaving it present and empty.

> Me either. The logic could possibly be something simple when we free a 
> node like "while the list tail is an available node prune the tail". But 
> as you say, it might not be worth it.

The idea I had in mind was to compensate for adding list-removal logic
by getting rid of the concept of an unused entry.  If the removal is
conditional then you can't do that and you end up with the complications
of both methods.  Anyway I've not tried to code it yet.

                        regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to