Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XBRIu-0005lb-5X for pgsql-pkg-debian@arkaria.postgresql.org; Sun, 27 Jul 2014 16:28:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XBRIs-00011X-Sj for pgsql-pkg-debian@arkaria.postgresql.org; Sun, 27 Jul 2014 16:28:06 +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 1XBRIq-00011N-SR for pgsql-pkg-debian@postgresql.org; Sun, 27 Jul 2014 16:28:05 +0000 Received: from smtp80.ord1c.emailsrvr.com ([108.166.43.80]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XBRIj-0002Op-1O for pgsql-pkg-debian@postgresql.org; Sun, 27 Jul 2014 16:28:02 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp19.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id A8A5D1804D0; Sun, 27 Jul 2014 12:27:55 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp19.relay.ord1c.emailsrvr.com (Authenticated sender: jeff.frost-AT-pgexperts.com) with ESMTPSA id EAED918041C; Sun, 27 Jul 2014 12:27:54 -0400 (EDT) X-Sender-Id: jeff.frost@pgexperts.com Received: from [192.168.2.69] (71-94-61-112.dhcp.snlo.ca.charter.com [71.94.61.112]) (using TLSv1 with cipher AES128-SHA) by 0.0.0.0:587 (trex/5.2.10); Sun, 27 Jul 2014 16:27:55 GMT Content-Type: multipart/alternative; boundary="Apple-Mail=_5C0178B7-4F14-4F7D-8D63-9C8A0AA9A70E" Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: how to build extensions when not on 9.3? From: Jeff Frost In-Reply-To: Date: Sun, 27 Jul 2014 09:27:52 -0700 Cc: pgsql-pkg-debian@postgresql.org Message-Id: References: <7AE8BFFE-55C7-4B95-86F8-DEE7C507B33D@pgexperts.com> <69FA86B8-E8BA-4BD4-8EF1-63A92E5EA149@pgexperts.com> To: Dimitri Fontaine X-Mailer: Apple Mail (2.1878.6) X-Pg-Spam-Score: -0.0 (/) 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 --Apple-Mail=_5C0178B7-4F14-4F7D-8D63-9C8A0AA9A70E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Jul 24, 2014, at 12:14 AM, Dimitri Fontaine = wrote: > Sorry to only see that now, but it seems to me that your question is > answered in the FAQ: >=20 > = http://wiki.postgresql.org/wiki/Apt/FAQ#I_want_libpq5_for_version_X.2C_but= _there_is_only_version_Y_in_the_repository >=20 > Namely in your case you should tweak your sources.list entry like = this: >=20 > 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=3D9.2.9-1.pgdg14.04+1 libpq5=3D9.2.9-1.pgdg14.04+1 pgxnclient Then I had to install a couple other -dev packages and pg_repack built = just fine. Thanks!= --Apple-Mail=_5C0178B7-4F14-4F7D-8D63-9C8A0AA9A70E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
On Jul 24, 2014, at 12:14 AM, Dimitri = Fontaine <dimitri@2ndQuadrant.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=3D9.2.9-1.pgdg14.04+1 libpq5=3D9.2.9-1.pgdg14.04+1 = pgxnclient

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

Thanks!
= --Apple-Mail=_5C0178B7-4F14-4F7D-8D63-9C8A0AA9A70E--