Re: Workaround for custom aggregate which would need "internal" as statetype

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Workaround for custom aggregate which would need "internal" as statetype
Дата
Msg-id 1723.1144711772@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Workaround for custom aggregate which would need "internal" as statetype  ("Florian G. Pflug" <fgp@phlo.org>)
Ответы Re: Workaround for custom aggregate which would need "internal"  ("Florian G. Pflug" <fgp@phlo.org>)
Список pgsql-general
"Florian G. Pflug" <fgp@phlo.org> writes:
> Using perl, and a perl-hash was even slower, so I wrote my to c-functions
> (actualy c++), which use a STL hash_set to filter out duplicates.

This makes me fairly nervous, because what's going to ensure that the
memory used by the hash_set is reclaimed?  Particularly if the query
errors out partway through?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How to find the latest (partial) WAL file
Следующее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: Workaround for custom aggregate which would need "internal"