Subject | firebird events question |
---|---|
Author | russellbelding |
Post date | 2004-09-17T03:55:04Z |
I am using After-Insert, After-Update and After-Delete triggers and
in them POST_EVENT lines to signal that a table has changed to
listeners. So my statements are like
POST_EVENT 'EVENT_NAME'
TO receive these events clients register as a listener
for 'EVENT_NAME'.
If I am the client who made the event happen I do not want to act on
the event. If another client made the event happen I want to take an
action.
If listeners could register to be notified for events 'EVENT_NAME*'
they could get notification of events named
'EVENT_NAME001', 'EVENT_NAME002' and so on. But Firebird does not yet
permit having wildcards in listener registration (does it?).
Is there any reliable way for me to not act on an event I have
caused?
Thanks for any suggesions.
Russell Belding
in them POST_EVENT lines to signal that a table has changed to
listeners. So my statements are like
POST_EVENT 'EVENT_NAME'
TO receive these events clients register as a listener
for 'EVENT_NAME'.
If I am the client who made the event happen I do not want to act on
the event. If another client made the event happen I want to take an
action.
If listeners could register to be notified for events 'EVENT_NAME*'
they could get notification of events named
'EVENT_NAME001', 'EVENT_NAME002' and so on. But Firebird does not yet
permit having wildcards in listener registration (does it?).
Is there any reliable way for me to not act on an event I have
caused?
Thanks for any suggesions.
Russell Belding