Re: DEALLOCATE ALL

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: DEALLOCATE ALL
Дата
Msg-id e51f66da0703300555m238cac13h122131e3370c6f35@mail.gmail.com
обсуждение исходный текст
Ответ на Re: DEALLOCATE ALL  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: DEALLOCATE ALL  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-patches
On 3/30/07, Alvaro Herrera <alvherre@commandprompt.com> wrote:
> 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?

hash_destroy()?  Each element need separate destruction.

--
marko

В списке pgsql-patches по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: DEALLOCATE ALL
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Current enums patch