Bug 116 - slonik loads old SQL into 8.4
Summary: slonik loads old SQL into 8.4
Status: RESOLVED FIXED
Alias: None
Product: Slony-I
Classification: Unclassified
Component: stored procedures (show other bugs)
Version: devel
Hardware: PC Linux
: low critical
Assignee: Slony Bugs List
URL:
Depends on:
Blocks:
 
Reported: 2010-03-19 05:29 UTC by Peter Eisentraut
Modified: 2010-03-30 10:30 UTC (History)
1 user (show)

See Also:


Attachments
patch to fix the issue (901 bytes, patch)
2010-03-19 05:29 UTC, Peter Eisentraut
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Eisentraut 2010-03-19 05:29:24 UTC
Created attachment 40 [details]
patch to fix the issue

slonik doesn't know about versions >8.3 when deciding which slony1_funcs.vXX.sql to load.  This is pretty critical because the autovacuum setup was changed in 8.4, and so if the wrong file is loaded, stuff breaks.  Fix attached.
Comment 1 Steve Singer 2010-03-30 10:30:50 UTC
This has been applied against the 2.0 branch