I'm trying to add a notice (or something similar) to a function that is executed on update by a trigger in PostgreSQL 9.6 db. I want to let the user who edited the table that something happened.
I don't know is "NOTICE" is the proper RAISE (Why not "INFO"?).
The central question is: how I can add the raise notice argument after the update?
Best Answer
The problem can be, that level for messages is too high
so try this appproach
db<>fiddle here