Re: Notify enhancement

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Notify enhancement
Дата
Msg-id 16623.1165243694@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Notify enhancement  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: Notify enhancement  (Andrew Dunstan <andrew@dunslane.net>)
Re: Notify enhancement  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Alvaro Herrera wrote:
>> What will happen when the ring is full?  NOTIFY blocks?
>> 
> An error, I think, don't you? Blocking seems totally unacceptable.

That seems like a curious answer.  Imagine the documentation:
"NOTIFY may fail for no reason whatsoever."  I'd vote for blocking.
Otherwise, apps have to treat NOTIFY as an unreliable communication
mechanism, which reduces its use-case to approximately nil.
        regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Notify enhancement
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Notify enhancement