bugzilla-daemon at main.slony.info bugzilla-daemon at main.slony.info
Wed Oct 26 13:54:53 PDT 2011
http://www.slony.info/bugzilla/show_bug.cgi?id=246

           Summary: slony_funcs can be
           Product: Slony-I
           Version: devel
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: low
         Component: stored procedures
        AssignedTo: slony1-bugs at lists.slony.info
        ReportedBy: gmc at esilibrary.com
                CC: slony1-bugs at lists.slony.info
   Estimated Hours: 0.0


If the system that Slony is compiled on has libpq5 installed at a higher
version than Postgres itself, the slony1_funcs library can be stamped with the
the client library's version (taken from libpq's pg_config.h) rather than the
Pg server version.

This can result in failures like this:

<stdin>:9: PGRES_FATAL_ERROR load '$libdir/slony1_funcs';  - ERROR: 
incompatible library "/usr/lib/postgresql/9.0/lib/slony1_funcs.so": version
mismatch
DETAIL:  Server is version 9.0, library is version 9.1.

This was specifically encountered on a Debian squeeze/squeeze-backports system:

Package: libpq-dev                       
State: installed
Automatically installed: no
Version: 9.1.1-1~bpo60+1


Package: postgresql-server-dev-9.0
New: yes
State: installed
Automatically installed: no
Version: 9.0.5-1~bpo60+1

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