notification information functions

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: notification information functions
Date: 2008-05-18 20:00:43
Message-ID: 48308AEB.40102@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


I am working on moving the notification buffer into shared memory as
previously discussed. Since pg_listener will no longer exist, I think we
need to provide a couple of information functions.

I suggest:

pg_listened_events(out event name) returns setof record
pg_pending_events(out event name, out message text) returns setof record

The first would show events being listened on by the current backend,
while the second would show all pending events for the current db.

Given that there will no longer be any central place where events will
be registered to be listened on, it will not be possible to show all
such events for the current db.

Comments?

cheers

andrew

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-05-18 20:05:30 Re: notification information functions
Previous Message David Fetter 2008-05-18 18:47:37 Re: WITH RECURSIVE patch V0.1