Re: DEALLOCATE ALL - Mailing list pgsql-patches

From Alvaro Herrera
Subject Re: DEALLOCATE ALL
Date
Msg-id 20070330124350.GB4215@alvh.no-ip.org
Whole thread Raw
In response to Re: DEALLOCATE ALL  (Neil Conway <neilc@samurai.com>)
Responses Re: DEALLOCATE ALL
List pgsql-patches
Neil Conway escribió:

> As to the implementation, calling hash_remove() in a loop seems a pretty
> unfortunate way to clear a hash table -- adding a hash_reset() function
> to the dynahash API would be cleaner and faster.

I wonder why hash_drop cannot be used?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: COPY-able sql log outputs
Next
From: "Marko Kreen"
Date:
Subject: Re: DEALLOCATE ALL