I would like to start a discussion to propose the implementation of
"Event triggers" (for the lack of a better name for now).

Those special triggers would be associated to an EVENT, not to a
TABLE. When the associated event is fired in any of the active
attachments, all the active attachments "interested" in that event
would run the trigger.

My personal example of use for such feature, would be to force the
update of global context variables in all active attachments, when
the EVENT is fired.

Of course there are questions to be discussed, for example: the
trigger would ran in what transaction context? Should it be forced to
be ReadOnly (making things simpler, but much more limited)?

This would be for FB 3.x or 4. If you guys thinks this is not the
right moment to talk about it, I can just open a ticket and leave it
in the tracker waiting for the right time.

[]s
Carlos
http://www.firebirdnews.org
FireBase - http://www.FireBase.com.br


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to