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
EXECUTEcommand, possibly asEXECUTE ... USINGand/or with theformatfunction. Details in the documentation.TG_OPvariable?TG_OP,TG_TABLE_NAMEand other variables.