Re: Building an extension for a different version of Postgres

From: Raghavendra <raghavendra(dot)rao(at)enterprisedb(dot)com>
To: Wells Oliver <wellsoliver(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Building an extension for a different version of Postgres
Date: 2013-07-11 17:52:00
Message-ID: CA+h6AhjdUe35nOXBgCvjev9C=cxkiWMAYxHS0L=1GTwTHD0tjA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Jul 11, 2013 at 11:14 PM, Wells Oliver <wellsoliver(at)gmail(dot)com>wrote:

> 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?
>
> Before compiling point pg_config to PG 9.2

export PATH=/your/path/to/pg92/bin:$PATH

And check whether its pointing to PG 9.2 by below command.
which pg_config

Re-configure plr.

---
Regards,
Raghavendra
EnterpriseDB Corporation
Blog: http://raghavt.blogspot.com/

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Wells Oliver 2013-07-11 17:56:08 Re: Building an extension for a different version of Postgres
Previous Message Wells Oliver 2013-07-11 17:44:32 Building an extension for a different version of Postgres