add function for creating/attaching hash table in DSM registry

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема add function for creating/attaching hash table in DSM registry
Дата
Msg-id aEC8HGy2tRQjZg_8@nathan
обсуждение исходный текст
Ответы Re: add function for creating/attaching hash table in DSM registry
Список pgsql-hackers
Libraries commonly use shared memory to store hash tables.  While it's
possible to set up a dshash table using the DSM registry today, doing so is
complicated; you need to set up two LWLock tranches, a DSA, and finally the
dshash table.  The attached patch adds a new function called
GetNamedDSMHash() that makes creating/attaching a hash table in the DSM
registry much easier.

-- 
nathan

Вложения

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