Mon Oct 6 06:22:16 PDT 2008
- Previous message: [Slony1-hackers] Slony-I Communications Costs
- Next message: [Slony1-hackers] Commented lines in Stored Procedures code uploaded thru SLONY
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello all,
Is there a way to instruct Slony-I about comment lines that should not
be executed when utilizing the tool?
In code below, the "This is a comment" line and the following should be
ignored.
How do we accomplish that.
Thanks,
Tony Fernandez
----------------------------------------------------------------------
CREATE OR REPLACE FUNCTION MyFunction( )
RETURNS integer AS
$BODY$
DECLARE
/* This is a comment
Slony-I should not execute
*/
BEGIN
Return 0;
END;
$BODY$
LANGUAGE 'plpgsql' VOLATILE SECURITY DEFINER
COST 100;
----------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.slony.info/pipermail/slony1-hackers/attachments/20081006/7217989c/attachment.htm
- Previous message: [Slony1-hackers] Slony-I Communications Costs
- Next message: [Slony1-hackers] Commented lines in Stored Procedures code uploaded thru SLONY
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-hackers mailing list