Re: Need a good .

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: Need a good .
Дата
Msg-id m2k747lm97.fsf@mailbox.samurai.com
обсуждение исходный текст
Ответ на Need a good .  ("Thomas Hallgren" <thhal@mailblocks.com>)
Список pgsql-hackers
"Thomas Hallgren" <thhal@mailblocks.com> writes:
> I'm working on a pljava module. In it, I'd like to cache some allocated
> structures (allocated using TopMemoryContext) using a string as the key. I
> need a hash or binary-search table with dynamic size where I can store
> arbitrary structures and then find them using strings.

Take a look at src/backend/utils/hash/dynahash.c

-Neil



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

Предыдущее
От: A E
Дата:
Сообщение: Remote Procedures
Следующее
От: Neil Conway
Дата:
Сообщение: Re: *sigh*