Re: how to build extensions when not on 9.3?

From: Christoph Berg <cb(at)df7cb(dot)de>
To: Jeff Frost <jeff(at)pgexperts(dot)com>, Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
Cc: pgsql-pkg-debian(at)postgresql(dot)org
Subject: Re: how to build extensions when not on 9.3?
Date: 2014-07-24 08:09:02
Message-ID: 20140724080902.GA28113@msg.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

Re: Jeff Frost 2014-07-24 <69FA86B8-E8BA-4BD4-8EF1-63A92E5EA149(at)pgexperts(dot)com>
> Anyone have any ideas here? I opened a github issue with the pg_repack maintainer, but he didn't have a better idea than me.
>
> Is there a reason that we only provide a 9.3 libpq-dev?
>
> https://github.com/reorg/pg_repack/issues/27
>
> Is the answer just install from source if you're not on 9.3 and need to install extensions?

Sorry for the non-answer via mail so far.

As said on IRC, everything else works. We are building lots of server-
side extensions for various PG versions in parallel, all using the
9.3 libpq5 and libpq-dev.

There are/were some knows problems where the client headers depend on the
server, though that should be a different issue.

I haven't had time to look into pg_repack yet. Possibly I can come up
with a solution once these minor releases are out of the door.

Re: Dimitri Fontaine 2014-07-24 <m2iomnkz3h(dot)fsf(at)2ndQuadrant(dot)fr>
> Jeff Frost <jeff(at)pgexperts(dot)com> writes:
> >> It seems that postgresql-server-dev-9.2 drags libpq-dev-9.3 along
> >> with it and the subsequent compiles fail.
>
> Sorry to only see that now, but it seems to me that your question is
> answered in the FAQ:
>
> http://wiki.postgresql.org/wiki/Apt/FAQ#I_want_libpq5_for_version_X.2C_but_there_is_only_version_Y_in_the_repository
>
> Namely in your case you should tweak your sources.list entry like this:
>
> deb http://apt.postgresql.org/pub/repos/apt/ squeeze-pgdg main 9.2

Ack.

> > Is there a reason that we only provide a 9.3 libpq-dev?
>
> My (limited) understanding here is that the libpq package provides both
> server side and client side components, and for client side components
> all you need is the most recent libpq around.

Right, plus postgresql-server-dev-<version>.

> Where I need some more facts is on the server-side parts that are to be
> found in libpq-dev, I think that's a bug.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=314427
http://www.postgresql.org/message-id/20140426122548.GA7249@msgid.df7cb.de

Christoph
--
cb(at)df7cb(dot)de | http://www.df7cb.de/

In response to

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message apt.postgresql.org repository 2014-07-24 12:30:47 postgresql-9.4 updated to version 9.4~beta2-1.pgdg+1
Previous Message Dimitri Fontaine 2014-07-24 07:14:26 Re: how to build extensions when not on 9.3?