Skip site navigation (1) Skip section navigation (2)

Re: DEALLOCATE ALL

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Marko Kreen <markokr(at)gmail(dot)com>, PGSQL-Patches <pgsql-patches(at)postgresql(dot)org>, Andrzej Rusin <Andrzej(dot)Rusin(at)interia(dot)pl>
Subject: Re: DEALLOCATE ALL
Date: 2007-03-30 12:43:50
Message-ID: 20070330124350.GB4215@alvh.no-ip.org (view raw or flat)
Thread:
Lists: 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

In response to

Responses

pgsql-patches by date

Next:From: Marko KreenDate: 2007-03-30 12:55:46
Subject: Re: DEALLOCATE ALL
Previous:From: Peter EisentrautDate: 2007-03-30 12:23:27
Subject: Re: COPY-able sql log outputs

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group