Re: LISTEN/NOTIFY and notification timing guarantees

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: LISTEN/NOTIFY and notification timing guarantees
Дата
Msg-id 14895.1266354782@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: LISTEN/NOTIFY and notification timing guarantees  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
Jeff Davis <pgsql@j-davis.com> writes:
> On Tue, 2010-02-16 at 10:38 -0500, Tom Lane wrote:
>> 2. Add an extra lock to serialize writers to the queue, so that messages
>> are guaranteed to be added to the queue in commit order.

> I assume this is a heavyweight lock, correct?

Yeah, that seems the easiest way to do it.  I think an LWLock could be
made to work, but releasing it on error might be a bit funky.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: psql 8.4 \c repeats version banner
Следующее
От: Tom Lane
Дата:
Сообщение: Re: LISTEN/NOTIFY and notification timing guarantees