Re: introduce dynamic shared memory registry

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: introduce dynamic shared memory registry
Дата
Msg-id 20231219160117.GB831499@nathanxps13
обсуждение исходный текст
Ответ на Re: introduce dynamic shared memory registry  (Andrei Lepikhov <a.lepikhov@postgrespro.ru>)
Список pgsql-hackers
On Mon, Dec 18, 2023 at 03:32:08PM +0700, Andrei Lepikhov wrote:
> 3. The dsm_registry_init_or_attach routine allocates a DSM segment. Why not
> create dsa_area for a requestor and return it?

My assumption is that most modules just need a fixed-size segment, and if
they really needed a DSA segment, the handle, tranche ID, etc. could just
be stored in the DSM segment.  Maybe that assumption is wrong, though...

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



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

Предыдущее
От: Nathan Bossart
Дата:
Сообщение: Re: Add new for_each macros for iterating over a List that do not require ListCell pointer
Следующее
От: "Tristan Partin"
Дата:
Сообщение: Re: meson: Stop using deprecated way getting path of files