'in postgrers if you have a trigger

say it's fired

after insert or update

is there a way tilling what really happened

e.g insert into table x .... then a the trigger fired says 'IT WAS AN INSERT' update x .... then a the trigger fired says 'IT WAS AN UPDATE'

YES I CAN SPLIT THEM



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source