Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vxl8Z-0002RC-9q for pgsql-pkg-debian@arkaria.postgresql.org; Mon, 30 Dec 2013 22:16:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Vxl8Y-0004X4-OG for pgsql-pkg-debian@arkaria.postgresql.org; Mon, 30 Dec 2013 22:16:38 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vxl8X-0004Wu-T6 for pgsql-pkg-debian@postgresql.org; Mon, 30 Dec 2013 22:16:38 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vxl8U-0006Vp-7o for pgsql-pkg-debian@postgresql.org; Mon, 30 Dec 2013 22:16:37 +0000 Received: from msgid.df7cb.de (unknown [188.24.152.77]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id C91A16967C; Mon, 30 Dec 2013 23:16:31 +0100 (CET) Date: Tue, 31 Dec 2013 00:16:30 +0200 From: Christoph Berg To: PostgreSQL in Debian , Marco Nenciarini Subject: Re: repmgr updated to version 2.0~beta2-2.pgdg+1 Message-ID: <20131230221630.GA4559@msgid.df7cb.de> Mail-Followup-To: Christoph Berg , PostgreSQL in Debian , Marco Nenciarini References: <20131230195605.GB16147@msgid.df7cb.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <20131230195605.GB16147@msgid.df7cb.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -2.0 (--) X-Mailing-List: pgsql-pkg-debian List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Precedence: bulk Sender: pgsql-pkg-debian-owner@postgresql.org --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Re: To PostgreSQL in Debian 2013-12-30 <20131230195605.GB16147@msgid.df7cb.= de> > Re: To PostgreSQL in Debian 2013-12-30 > > The package repmgr was updated on apt.postgresql.org: > >=20 > > New version 2.0~beta2-2.pgdg+1: >=20 > Hi, >=20 > 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=3Da= md64,distribution=3Dsid/11/console 23:13:28 ERROR: incompatible library "/usr/lib/postgresql/9.0/lib/repmgr_f= uncs.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 =09 23:13:28 CREATE FUNCTION repmgr_update_standby_location(text) RETURNS bool= ean 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 --=20 cb@df7cb.de | http://www.df7cb.de/ --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIcBAEBCAAGBQJSwfCyAAoJEExaa6sS0qeumnEP/3aYLxId2uJrs3TA6rgh3/rn j3EBhUKU2dpnuOPJFEkdn6U9HSlTpCHYR8jBLxEdMMt900E4j801bJDlFQTYGiIl +GXyPib1iBhm1GyG/IhQaHrJEkiyE+zSGvWvPbT5Ri7mputharapLn+YN9LoMVX9 qKR2U+RBr8Xc5Jfjan39pucMyAP7gS78IG62+whxAJ3me8QNgPDI68oAILKfp7mq vd7/fsQ0IsZyaJkQvgTn4XDkw85aXQyCyHiZHHMwux3t3qRFj5YhaTYh25rNLJ45 +jnbbFeTPr8+0r0HPoDpy6mcAKpTJusS6eimohwfOHE6Widjp77KL53brk6Aw4Gg ZU5BQjabYG8YCE3V93IFvSI75nC+uKE6J/+dcuQj9W61zEpXfJopzDWrm1gZyhkp uvtYjYCMkRBYTQUK7okYLAi1ujHoCVvCih5ilbQcICMayJmFr+49l8L5klr0IA0b JX/jz/02CcXNAOc0nTJTNFH79P7vFO78y+LMz8mHGxNaVIzercO/RqjN9IL0WlcJ XFUF/8QWcaVi24iozF/JHduTLBV68j0udp6VNkzK/8zMsdsrIUY5PkUHyC+Z0yUu XQpNIIbM8ptIrBQBLY6jiWrxFCSokXlmU130z6NpdygN9GYjOFfk461YkJVHJoT7 EHBeZkz18ZfamsuRIocl =kn67 -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--