Building an extension for a different version of Postgres

From: Wells Oliver <wellsoliver(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Building an extension for a different version of Postgres
Date: 2013-07-11 17:44:32
Message-ID: CAOC+FBXuxnO_3m81Hbk4_X4Z+aLiN3yvqZDtgQsWF1bBHRyvxQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I have 9.1 and 9.2 installed, and I am trying to build the PLR extension:

http://www.joeconway.com/plr/doc/plr-install.html

I'm using the USE_PGXS=1 method. But it's building for 9.1:

gcc .... -I/usr/include/postgresql/9.1/server ...

I want to build for 9.2. How can I do this?

--
Wells Oliver
wellsoliver(at)gmail(dot)com

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Raghavendra 2013-07-11 17:52:00 Re: Building an extension for a different version of Postgres
Previous Message Kevin Grittner 2013-07-11 03:37:23 Re: Connecting to a remote db server