Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wxxmu-00062B-J4 for pgsql-pkg-debian@arkaria.postgresql.org; Fri, 20 Jun 2014 12:19:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wxxmt-0007h2-Uc for pgsql-pkg-debian@arkaria.postgresql.org; Fri, 20 Jun 2014 12:19:23 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Wxxmt-0007gh-3k for pgsql-pkg-debian@postgresql.org; Fri, 20 Jun 2014 12:19:23 +0000 Received: from feynman.df7cb.de ([2001:6f8:10ee::1]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Wxxmk-0005cc-Lg for pgsql-pkg-debian@postgresql.org; Fri, 20 Jun 2014 12:19:21 +0000 Received: from msg.df7cb.de (benz.df7cb.de [IPv6:2001:6f8:10ee:e:134::2]) (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 69D8A69623; Fri, 20 Jun 2014 14:19:09 +0200 (CEST) Date: Fri, 20 Jun 2014 14:19:09 +0200 From: Christoph Berg To: Steve Crawford Cc: pgsql-pkg-debian@postgresql.org Subject: Re: PGDG debs not playing nice with pgxn (bug?) Message-ID: <20140620121908.GB19839@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Steve Crawford , pgsql-pkg-debian@postgresql.org References: <53A304BC.40908@pinpointresearch.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53A304BC.40908@pinpointresearch.com> User-Agent: Mutt/1.5.23 (2014-03-12) 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 Re: Steve Crawford 2014-06-19 <53A304BC.40908@pinpointresearch.com> > I attempted to install pg_repack on a server running PostgreSQL 9.1.13 on > Ubuntu 12.04. As I didn't find pg_repack in the repository or installed > extensions, I decided to use pgxn. > > I installed pgxnclient from PGDG. To use pgxn I had to install > postgresql-server-dev-9.1 which installed, as a requirement, libpq-dev. The > pgxn install failed with "error: unknown type name 'pg_int64'" as described > in this thread: > http://www.postgresql.org/message-id/53989C91.6050403@pinpointresearch.com > > Further investigation revealed that the only seemingly available libpg-dev > in the repo is version 9.3.4. The end result is that there are multiple > versions of postgres_ext.h automatically installed and that pgxnclient as > installed from the PGDG repo chooses the wrong one: > /usr/include/postgresql/postgres_ext.h > /usr/include/postgresql/9.1/server/postgres_ext.h Hmm. We've actually cleaned up most of the multiple-server-headers mess by not shipping them in libpq-dev anymore. Fwiw, there's working pg_reorg packages for 9.1 on 12.04 on apt.postgresql.org, maybe these will do the job for you? What's puzzling me now is why you can't build pg_repack for 9.1 while it worked for me with pg_reorg on 12.04, I thought these would be sufficiently similar. Maybe the difference includes a bugfix for this problem as well... Christoph -- cb@df7cb.de | http://www.df7cb.de/ -- 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