Hi...
People, i wanna know how can i know inside of a function whar the trigger called, i mean which instruction SQL it called.
I do not wanna know if itīs a insert, update or delete (tp_op), i need to know the complete instruction.
For example, i need to know something like this:
update phones set number = '9999-2222';
Do you know if maybe exists a tg_stantement?
No, and the situation isn't quite as simple as that. Think about foreign-keys with a cascading update.
What precisely are you trying to do? -- Richard Huxton Archonet Ltd
---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq