How to use variable settings in trigger functions? How to use variable settings in trigger functions? postgresql postgresql