How to declare PG version for compiling extensions. - Mailing list pgsql-general

From GPT
Subject How to declare PG version for compiling extensions.
Date
Msg-id CADep2PPaDW-7pFhSEgQina_P5x2anrV3Qxv7xq3zXkEhk25S=w@mail.gmail.com
Whole thread Raw
Responses Re: How to declare PG version for compiling extensions.  (GPT <gptmailinglists@gmail.com>)
Re: How to declare PG version for compiling extensions.  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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


pgsql-general by date:

Previous
From: Олег Самойлов
Date:
Subject: Re: BUG: Incorrect working with POSIX locale if database in UTF-8encoding
Next
From: GPT
Date:
Subject: Re: How to declare PG version for compiling extensions.