Tony Fernandez Tony.Fernandez at vocalocity.com
Mon Oct 6 06:22:16 PDT 2008
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


More information about the Slony1-hackers mailing list