Hello.
OK. I created a new table that holds information
about rows inserted/updated in a transaction.
I realized that after row-level trigger fires
always before after statement-level trigger.
Therefore I can use row-level triger to populate
the auxiliary table which holds information about affected rows, so that after
statement-level trigger can read that information.
It works and is fast enough.
So, I emulated NEW and OLD for statement level
trigger:)
Regards,
Zlatko
|