Re: Initializing LWLock Array from Server Code

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Initializing LWLock Array from Server Code
Дата
Msg-id CA+TgmoabR=TVoun8qOFGyReo2LakcTeQcV-ts4LKFxoM3vLTXw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Initializing LWLock Array from Server Code  (Souvik Bhattacherjee <kivuosb@gmail.com>)
Список pgsql-hackers
On Tue, Apr 30, 2019 at 5:52 PM Souvik Bhattacherjee <kivuosb@gmail.com> wrote:
> Thank you for your reply and sorry that I couldn't reply earlier.
> Since I didn't get any response within a couple of days, I took the longer route -- changed the lwlock.h and
lwlock.c
> for accommodating the lw locks for the shared hash table.
>
> I'll describe what I modified in the lwlock.h and lwlock.c and it seems to be working fine. Although I haven't got an
opportunity
> to test it extensively. If you could let me know if I missed out anything that might cause problems later that would
begreat.
 

Well, I can't really vouch for your code on a quick look, but it
doesn't look insane.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Adding a test for speculative insert abort case
Следующее
От: Tomas Vondra
Дата:
Сообщение: walsender vs. XLogBackgroundFlush during shutdown