Criando uma notificação simples no PostgreSQL

create trigger production_stage before
insert
  on production_item_wip for each row execute procedure fn_production_stage_modified();
Lazy Lapwing