Function Properties
declare p_nodeid alias for $1; begin insert into sl_nodelock (nl_nodeid, nl_backendpid) values (p_nodeid, pg_backend_pid()); return 0; end;
If this was useful, let others know by an Affero rating