Slony-I 2.0.8 Documentation | ||||
---|---|---|---|---|
Prev | Fast Backward | Chapter 6. Schema schemadoc | Fast Forward | Next |
6.29. clonenodeprepare(integer, integer, text)
Function Properties
Language: PLPGSQL
Return Type: bigint
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;