Re: notification payloads - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: notification payloads
Date
Msg-id 46129980.6040800@enterprisedb.com
Whole thread Raw
In response to Re: notification payloads  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>> We'll also need to store the database id along with the event name and 
>> message, since pg_listener is per db rather than per cluster.
> 
> Well, that's an artifact of the historical implementation ... does
> anyone want to argue that LISTEN should be cluster-wide given the
> opportunity?

That would be a problem if you try to run multiple installations of an 
application that uses NOTIFY/LISTEN in separate databases in a single 
cluster. Applications would overhear each other. I'd consider that as a 
bug, not a feature.


--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Mark Dilger
Date:
Subject: Re: Bug in UTF8-Validation Code?
Next
From: Tom Lane
Date:
Subject: Re: Plan invalidation