Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VzitX-00010L-NB for pgsql-pkg-debian@arkaria.postgresql.org; Sun, 05 Jan 2014 08:17:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VzitX-0001o7-6C for pgsql-pkg-debian@arkaria.postgresql.org; Sun, 05 Jan 2014 08:17:15 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VxuOD-00059o-Fj for pgsql-pkg-debian@postgresql.org; Tue, 31 Dec 2013 08:09:25 +0000 Received: from spark.kcore.it ([2a01:7e00::f03c:91ff:feae:71a1]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VxuO6-0008OM-91 for pgsql-pkg-debian@postgresql.org; Tue, 31 Dec 2013 08:09:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kcore.it; s=spark; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=a2Pt6MhsHEW6cu9XYt7LPWiO4wMzAphzq4vScJxzavQ=; b=O+qYA2eIAHyHZXEkx/8VK1QlufQDcSdB6eq5nxTvRxdca9ufcA3ajNOTmrTKI4v/YFuJ6Z5yVnWIr09yk04DsjpRapgmBphMbbtjMbj8WcprKKF8wDjp7Xx5JDf6CX5DpZU4NvpgJTwY1P4s2rY0kW6JPDEyUz9iSMDAbC8zWdI=; Received: from dynamic-adsl-78-13-172-123.clienti.tiscali.it ([78.13.172.123] helo=savant.local) by spark.kcore.it with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1VxuO2-0002dU-H0; Tue, 31 Dec 2013 09:09:14 +0100 Message-ID: <52C27BA3.1090901@debian.org> Date: Tue, 31 Dec 2013 09:09:07 +0100 From: Marco Nenciarini User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Christoph Berg , PostgreSQL in Debian Subject: Re: repmgr updated to version 2.0~beta2-2.pgdg+1 References: <20131230195605.GB16147@msgid.df7cb.de> <20131230221630.GA4559@msgid.df7cb.de> In-Reply-To: <20131230221630.GA4559@msgid.df7cb.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) 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 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 >>> 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/console > > 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