Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WxeTL-0003ov-1W for pgsql-pkg-debian@arkaria.postgresql.org; Thu, 19 Jun 2014 15:41:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WxeTK-0006NB-G0 for pgsql-pkg-debian@arkaria.postgresql.org; Thu, 19 Jun 2014 15:41:54 +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 1WxeTI-0006Hs-0q for pgsql-pkg-debian@postgresql.org; Thu, 19 Jun 2014 15:41:52 +0000 Received: from cerberus.pinpointresearch.com ([66.7.238.130] helo=polaris.pinpointresearch.com) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WxeTE-0008DA-PF for pgsql-pkg-debian@postgresql.org; Thu, 19 Jun 2014 15:41:49 +0000 Received: from [192.168.1.179] (betelgeuse.pinpointresearch.com [192.168.1.179]) by polaris.pinpointresearch.com (Postfix) with ESMTP id 52E47E00EC82 for ; Thu, 19 Jun 2014 08:41:48 -0700 (PDT) Message-ID: <53A304BC.40908@pinpointresearch.com> Date: Thu, 19 Jun 2014 08:41:48 -0700 From: Steve Crawford User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: pgsql-pkg-debian@postgresql.org Subject: PGDG debs not playing nice with pgxn (bug?) Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 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 Cheers, Steve -- 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