Re: how to build extensions when not on 9.3?

From: Jeff Frost <jeff(at)pgexperts(dot)com>
To: 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-27 16:27:52
Message-ID: CE7218A3-CF70-439D-AF3A-56A2F32F742B@pgexperts.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian


On Jul 24, 2014, at 12:14 AM, Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr> wrote:

> 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

Not sure how I missed this in the docs, but that got me going like so:

sudo apt-get install postgresql-server-dev-9.2 postgresql-9.2 postgresql-9.2-postgis-2.1 postgresql-9.2-slony1-2 postgresql-contrib-9.2 postgresql-client-9.2 libpq-dev=9.2.9-1.pgdg14.04+1 libpq5=9.2.9-1.pgdg14.04+1 pgxnclient

Then I had to install a couple other -dev packages and pg_repack built just fine.

Thanks!

In response to

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message apt.postgresql.org repository 2014-08-08 13:57:52 repmgr updated to version 2.0-3.pgdg+1
Previous Message Inkbunny 2014-07-27 02:59:32 subscribe