How to declare PG version for compiling extensions.

From: GPT <gptmailinglists(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: How to declare PG version for compiling extensions.
Date: 2018-10-22 08:39:09
Message-ID: CADep2PPaDW-7pFhSEgQina_P5x2anrV3Qxv7xq3zXkEhk25S=w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Both PG versions 10.5 and 11 are installed.

I have been trying to compile extensions for PG11 by using:

PATH=/.../11/bin:PATH make USE_...

but unfortunately PG10 is always being used (the `make` output always
shows PG10 and refers to `pg_config`).

1) Does it have to do with pg_config?
2) How can I declare which PG version to be used in real time?
3) How can I change which PG version to be used permanently?

Tia

Responses

Browse pgsql-general by date

  From Date Subject
Next Message GPT 2018-10-22 13:53:04 Re: How to declare PG version for compiling extensions.
Previous Message Alban Hertroys 2018-10-22 07:23:35 Re: Optimizing Postgresql ILIKE while query