Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Hackers > notification in...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 9386 of 10966
Post > Topic >>

notification information functions

by andrew@[EMAIL PROTECTED] (Andrew Dunstan) May 18, 2008 at 04:00 PM

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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
 




 6 Posts in Topic:
notification information functions
andrew@[EMAIL PROTECTED]   2008-05-18 16:00:43 
Re: notification information functions
tgl@[EMAIL PROTECTED] (T  2008-05-18 16:05:30 
Re: notification information functions
andrew@[EMAIL PROTECTED]   2008-05-18 16:09:40 
Re: notification information functions
hannu@[EMAIL PROTECTED]   2008-05-19 10:46:18 
Re: notification information functions
andrew@[EMAIL PROTECTED]   2008-05-19 08:14:52 
Re: notification information functions
tgl@[EMAIL PROTECTED] (T  2008-05-19 09:52:45 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 14:01:58 CST 2008.