pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steve Crawford <scrawford@pinpointresearch.com>
To: pgsql-pkg-debian@postgresql.org
Subject: PGDG debs not playing nice with pgxn (bug?)
Date: Thu, 19 Jun 2014 08:41:48 -0700
Message-ID: <53A304BC.40908@pinpointresearch.com> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>

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



view thread (3+ messages)  latest in thread

Message-ID: <53A304BC.40908@pinpointresearch.com>
Permalink:  ../53A304BC.40908@pinpointresearch.com/
Also on:    postgresql.org/message-id/53A304BC.40908@pinpointresearch.com

 · 

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: scrawford@pinpointresearch.com
  Subject: Re: PGDG debs not playing nice with pgxn (bug?)
  In-Reply-To: <53A304BC.40908@pinpointresearch.com>
  References: <53A304BC.40908@pinpointresearch.com>

* 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