Re: Notify enhancement
От | Andrew Dunstan |
---|---|
Тема | Re: Notify enhancement |
Дата | |
Msg-id | 45743873.1000901@dunslane.net обсуждение исходный текст |
Ответ на | Re: Notify enhancement (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Notify enhancement
|
Список | pgsql-hackers |
Tom Lane wrote: > 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. > > > OK, good point. I guess I'm a bit concerned about providing a possible DOS vector, but it could be either way. How about Alvaro's suggestion of spilling to disk? cheers andrew
В списке pgsql-hackers по дате отправления: