-- -- acs_log__notice/2 -- create or replace function acs_log__notice( notice__log_key character varying, notice__message character varying ) returns int4 as $$ DECLARE BEGIN insert into acs_logs (log_id, log_level, log_key, message) values (nextval('t_acs_log_id_seq'), 'notice', notice__log_key, notice__message); return 0; END; $$ language plpgsql;