From: | Christoph Berg <myon(at)debian(dot)org> |
---|---|
To: | PostgreSQL in Debian <pgsql-pkg-debian(at)postgresql(dot)org>, Marco Nenciarini <mnencia(at)debian(dot)org> |
Subject: | Re: repmgr updated to version 2.0~beta2-2.pgdg+1 |
Date: | 2013-12-30 22:16:30 |
Message-ID: | 20131230221630.GA4559@msgid.df7cb.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-pkg-debian |
Re: To PostgreSQL in Debian 2013-12-30 <20131230195605(dot)GB16147(at)msgid(dot)df7cb(dot)de>
> Re: To PostgreSQL in Debian 2013-12-30 <E1Vxgh5-0003Bo-B7(at)atalia(dot)postgresql(dot)org>
> > The package repmgr was updated on apt.postgresql.org:
> >
> > New version 2.0~beta2-2.pgdg+1:
>
> Hi,
>
> there seems to be a problem with postgresql-x.y-repmgr where x.y is
> < 9.3. The repmgr_funcs.so in there are linked to postgresql-9.3
> instead of x.y.
Hi Marco,
I've just added a testsuite to repmgr that uses the functions from
repmgr_funcs so it will detect this problem.
23:13:28 ERROR: incompatible library "/usr/lib/postgresql/9.0/lib/repmgr_funcs.so": version mismatch
23:13:28 DETAIL: Server is version 9.0, library is version 9.3.
23:13:28 STATEMENT: /*
23:13:28 * repmgr_function.sql
23:13:28 * Copyright (c) 2ndQuadrant, 2010
23:13:28 *
23:13:28 */
23:13:28
23:13:28 CREATE FUNCTION repmgr_update_standby_location(text) RETURNS boolean
23:13:28 AS '$libdir/repmgr_funcs', 'repmgr_update_standby_location'
23:13:28 LANGUAGE C STRICT;
In the long run, there should probably more tests (tbh I didn't check
if there is already a test suite, is there one?), but for now, that
should be enough.
Christoph
--
cb(at)df7cb(dot)de | http://www.df7cb.de/
From | Date | Subject | |
---|---|---|---|
Next Message | Marco Nenciarini | 2013-12-31 08:09:07 | Re: repmgr updated to version 2.0~beta2-2.pgdg+1 |
Previous Message | Christoph Berg | 2013-12-30 19:56:06 | Re: repmgr updated to version 2.0~beta2-2.pgdg+1 |