Re: Another notify question - Mailing list pgsql-general

From Tom Lane
Subject Re: Another notify question
Date
Msg-id 17490.1017042562@sss.pgh.pa.us
Whole thread Raw
In response to Another notify question  (Jeff Davis <list-pgsql-general@dynworks.com>)
Responses Re: Another notify question
List pgsql-general
Jeff Davis <list-pgsql-general@dynworks.com> writes:
> The discussion about implementation has lead me to the following question:
> What should I be sure that notify will do? Tom seems to think that delivery
> of a notification should not be guarenteed (if I understand what he is
> saying), which is fine with me.

Well, I definitely wasn't advocating that.  IMHO you should be
guaranteed the delivery of *some* notification, but possibly one
containing less information than what was sent.  Or you might get
a notification when in fact none was sent.  This should be okay
for ordinary uses of NOTIFY, as long as such cases are infrequent
(so that you don't waste many cycles checking for events that
didn't happen).

            regards, tom lane

pgsql-general by date:

Previous
From: Jeff Davis
Date:
Subject: Another notify question
Next
From: Tom Lane
Date:
Subject: Re: Large Object Location in 7.3