Alerter
Posted: Thu 18 Jun 2009 18:21
Hi,
In PostgresDAC, there was an option to listen to all events that the session is has registered using the LISTEN command.
So I could simply have an alerter, and register the events using a LISTEN command in some PlPgSQL function exactly where I would like to start listening.
With PgDAC, I cannot just use the LISTEN command alone in my own SQL statement but I have to use the TPgAlerter.Event, which is a comma delimited string that I have to maintain. When I make changes to that string, I have to Stop and re-Start the alerter...
Can there be an option to listen to everything - so I could control what I want to listen to using LISTEN and UNLISTEN statements elsewhere, without having to touch the TPgAlerter on the client-side.
Thanks
In PostgresDAC, there was an option to listen to all events that the session is has registered using the LISTEN command.
So I could simply have an alerter, and register the events using a LISTEN command in some PlPgSQL function exactly where I would like to start listening.
With PgDAC, I cannot just use the LISTEN command alone in my own SQL statement but I have to use the TPgAlerter.Event, which is a comma delimited string that I have to maintain. When I make changes to that string, I have to Stop and re-Start the alerter...
Can there be an option to listen to everything - so I could control what I want to listen to using LISTEN and UNLISTEN statements elsewhere, without having to touch the TPgAlerter on the client-side.
Thanks