CREATE TRIGGER audit_proc_tr
AFTER INSERT OR UPDATE OR DELETE
ON "log".hi
FOR EACH ROW
EXECUTE PROCEDURE "log".audit_proc(argument);
CREATE OR REPLACE FUNCTION fn_configpurchaseorder(configpurchaseorder, xmode text, xuserno integer)
RETURNS text AS
END;
I want to pass xmode
is a argument of trigger
EXECUTE
command, possibly asEXECUTE ... USING
and/or with theformat
function. Details in the documentation.TG_OP
variable?TG_OP
,TG_TABLE_NAME
and other variables.