Greetings,
Is it possible to fetch the query which triggered a rule?
I.e. suppose I create the following rule:
CREATE RULE MyRule AS ON Select TO MyTable_Tbl DO INSTEAD
process_query($sql);
Where $sql represents the query which triggered the rule.
Appreciate the input
Cheers
Jona