pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marco Nenciarini <mnencia@debian.org>
To: Christoph Berg <myon@debian.org>
To: PostgreSQL in Debian <pgsql-pkg-debian@postgresql.org>
Subject: Re: repmgr updated to version 2.0~beta2-2.pgdg+1
Date: Tue, 31 Dec 2013 09:09:07 +0100
Message-ID: <52C27BA3.1090901@debian.org> (raw)
In-Reply-To: <20131230221630.GA4559@msgid.df7cb.de>
References: <E1Vxgh5-0003Bo-B7@atalia.postgresql.org>
	<20131230195605.GB16147@msgid.df7cb.de>
	<20131230221630.GA4559@msgid.df7cb.de>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>

Il 30/12/13 23:16, Christoph Berg ha scritto:
> Re: To PostgreSQL in Debian 2013-12-30 <20131230195605.GB16147@msgid.df7cb.de>
>> Re: To PostgreSQL in Debian 2013-12-30 <E1Vxgh5-0003Bo-B7@atalia.postgresql.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.
> 
> https://pgdgbuild.dus.dg-i.net/jenkins/job/repmgr-binaries/architecture=amd64,distribution=sid/11/co...
> 
> 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.

Thanks for your help. I'll fix it ASAP.

Regards,
Marco


-- 
---------------------------------------------------------------------
|    Marco Nenciarini    | Debian/GNU Linux Developer - Plug Member |
| mnencia@prato.linux.it | http://www.prato.linux.it/~mnencia       |
---------------------------------------------------------------------
Key fingerprint = FED9 69C7 9E67 21F5 7D95  5270 6864 730D F095 E5E4


-- 
Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-debian



view thread (4+ messages)

Message-ID: <52C27BA3.1090901@debian.org>
Permalink:  ../52C27BA3.1090901@debian.org/
Also on:    postgresql.org/message-id/52C27BA3.1090901@debian.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-pkg-debian@postgresql.org
  Cc: mnencia@debian.org, myon@debian.org
  Subject: Re: repmgr updated to version 2.0~beta2-2.pgdg+1
  In-Reply-To: <52C27BA3.1090901@debian.org>
  References: <E1Vxgh5-0003Bo-B7@atalia.postgresql.org> <20131230195605.GB16147@msgid.df7cb.de> <20131230221630.GA4559@msgid.df7cb.de> <52C27BA3.1090901@debian.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox