slony1-bugs at lists.slony.info slony1-bugs at lists.slony.info
Thu Dec 18 13:25:18 PST 2008
http://www.slony.info/bugzilla/show_bug.cgi?id=69





--- Comment #2 from Christopher Browne <cbbrowne at ca.afilias.info>  2008-12-18 13:25:18 ---
Created an attachment (id=26)
 --> (http://www.slony.info/bugzilla/attachment.cgi?id=26)
Patch that creates the vactables type while slony1_funcs.sql is loading

The problem is that one of the new functions expects the type, "vactables", to
exist.

The "upgrade functions" function has code that *would* create it, but that
function is not run until *after* the whole slony1_functions.sql file has been
loaded, and that is way too late.

The attached patch creates, runs, and drops, a temporary function that adds the
type should it be missing.

I have run this through regression test #1 on the HEAD branch, which includes a
run of slonik "UPDATE FUNCTIONS."


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