bugzilla-daemon at main.slony.info bugzilla-daemon at main.slony.info
Fri Nov 4 13:02:08 PDT 2011
http://www.slony.info/bugzilla/show_bug.cgi?id=247

           Summary: Slony log shipper doesn't parse TRUNCATE
           Product: Slony-I
           Version: devel
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: low
         Component: slony_logshipper
        AssignedTo: slony1-bugs at lists.slony.info
        ReportedBy: ssinger at ca.afilias.info
                CC: slony1-bugs at lists.slony.info
   Estimated Hours: 0.0


This bug applies to 2.1 and master (2.2)

Slony 2.1 added support for replicating TRUNCATE commands.

The slony_logshipper daemon has a parser.y that it uses to parse the log ship
files generated by slon.  The grammer in this file (and associated handling
code) can not deal with TRUNCATE commands.

You get the following error
ERROR 2011-11-04 15:55:28 >
/tmp/logreformat/slony1_log_4_00000000000000000139.sql:12: ERROR syntax error
at or near TRUNCATE

from a line in the log file like:
TRUNCATE ONLY "disorder"."do_item_review" CASCADE;

-- 
Configure bugmail: http://www.slony.info/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Slony1-bugs mailing list