Re: Notify enhancement - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Notify enhancement
Date
Msg-id 16623.1165243694@sss.pgh.pa.us
Whole thread Raw
In response to Re: Notify enhancement  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Notify enhancement  (Andrew Dunstan <andrew@dunslane.net>)
Re: Notify enhancement  (Gregory Stark <stark@enterprisedb.com>)
List 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 by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Notify enhancement
Next
From: Andrew Dunstan
Date:
Subject: Re: Notify enhancement