From: | Devrim GÜNDÜZ <devrim(at)gunduz(dot)org> |
---|---|
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 18:34:53 |
Message-ID: | 1373567693.2933.15.camel@lenovo01-laptop03.gunduz.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Hi,
On Thu, 2013-07-11 at 10:44 -0700, Wells Oliver 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?
Edit makefile, and find this line:
PG_CONFIG := pg_config
You need to use 9.2 pg_config to build plr against 9.2.
Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz
From | Date | Subject | |
---|---|---|---|
Next Message | Wells Oliver | 2013-07-11 20:31:05 | Creating new cluster by copying directory? |
Previous Message | Wells Oliver | 2013-07-11 17:56:08 | Re: Building an extension for a different version of Postgres |