bugzilla-daemon at main.slony.info bugzilla-daemon at main.slony.info
Tue Dec 6 07:34:41 PST 2011
http://www.slony.info/bugzilla/show_bug.cgi?id=254

           Summary: Can't upgrade or remove an older version with a try
                    block
           Product: Slony-I
           Version: devel
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: low
         Component: slonik
        AssignedTo: slony1-bugs at lists.slony.info
        ReportedBy: ssinger at ca.afilias.info
                CC: slony1-bugs at lists.slony.info
   Estimated Hours: 0.0


A slonik script like

try {
uninstall node(id=1);
}

or 
try {
update  functions(id=1);
}

won't work if you are upgrading from a version of slony earlier than 2.1
because the sl_event_lock table does not exist.  The try block will try to
obtain an event lock but the table won't exist until after the update functions
runs.

-- 
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