pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: Steve Crawford <scrawford@pinpointresearch.com>
Cc: pgsql-pkg-debian@postgresql.org
Subject: Re: PGDG debs not playing nice with pgxn (bug?)
Date: Fri, 20 Jun 2014 14:19:09 +0200
Message-ID: <20140620121908.GB19839@msg.df7cb.de> (raw)
In-Reply-To: <53A304BC.40908@pinpointresearch.com>
References: <53A304BC.40908@pinpointresearch.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-pkg-debian>

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



view thread (3+ messages)

Message-ID: <20140620121908.GB19839@msg.df7cb.de>
Permalink:  ../20140620121908.GB19839@msg.df7cb.de/
Also on:    postgresql.org/message-id/20140620121908.GB19839@msg.df7cb.de

 · 

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: myon@debian.org, scrawford@pinpointresearch.com
  Subject: Re: PGDG debs not playing nice with pgxn (bug?)
  In-Reply-To: <20140620121908.GB19839@msg.df7cb.de>
  References: <53A304BC.40908@pinpointresearch.com> <20140620121908.GB19839@msg.df7cb.de>

* 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