Re: Improve LWLock tranche name visibility across backends

Поиск
Список
Период
Сортировка
От Sami Imseih
Тема Re: Improve LWLock tranche name visibility across backends
Дата
Msg-id CAA5RZ0uQ6kbwCBXzcAueqAAQ9AhQ2AjGf2CtY3AY1V19421=sw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Improve LWLock tranche name visibility across backends  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
Список pgsql-hackers

> Hi,
>
> If a dshash table is used to store tranche names and IDs, where would the
> tranche name for this table
> be registered?

I guess it could be a new BuiltinTrancheId for this dsa but not sure what Nathan
and Sami have in mind.

Yes, it will be a BuiltinTrancheId for a shared memory that is allocated 
during postmaster for tracking tranches. The shared memory will then 
only be used by normal backends to register tranches. Any tranche 
registered during postmaster is inherited by the backends. 

Regards,

Sami 

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