Christopher B. Browne's Home Page
cbbrowne@acm.org

8.29. clonenodeprepare(integer, integer, text)

Function Properties

PLPGSQLbigint
Prepare for cloning a node.
    declare
    	p_no_id			alias for $1;
    	p_no_provider	alias for $2;
    	p_no_comment	alias for $3;
    begin
    	-- ----
    	-- Grab the central configuration lock
    	-- ----
    	lock table sl_config_lock;
    
    	perform cloneNodePrepare_int (p_no_id, p_no_provider, p_no_comment);
    	return  createEvent('_schemadoc', 'CLONE_NODE',
    									p_no_id::text, p_no_provider::text,
    									p_no_comment::text);
    end;

Google

If this was useful, let others know by an Affero rating

Contact me at cbbrowne@acm.org