From: Adrian Klaver <adrian.klaver@aklaver.com>
To: GPT <gptmailinglists@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: How to declare PG version for compiling extensions.
Date: Mon, 22 Oct 2018 06:57:55 -0700
Message-ID: <5a1810c6-002d-874b-736d-458248b96b00@aklaver.com> (raw)
In-Reply-To: <CADep2PPyZ_92g=LZMzsaNZVwDwveVOj9Mv8xweFL9SDZusLEpQ@mail.gmail.com>
References: <CADep2PPaDW-7pFhSEgQina_P5x2anrV3Qxv7xq3zXkEhk25S=w@mail.gmail.com>
<CADep2PPyZ_92g=LZMzsaNZVwDwveVOj9Mv8xweFL9SDZusLEpQ@mail.gmail.com>
On 10/22/18 6:53 AM, GPT wrote:
> Unfortunately, I had not installed the following package:
>
> "postgresql-server-dev-11"
>
> By the way, shouldn't a warning message appear while trying to run:
>
> `PATH=/usr/lib/postgresql/11/bin:$PATH make USE_PGXS=1`
>
> warning the user that some files are missing.
Except there weren't. In $PATH there where the PG 10 files that could be
used. Now they where not the ones you wanted, but make did not 'know' that.
>
> Tia
>
>
> On 10/22/18, GPT <gptmailinglists@gmail.com> wrote:
>> 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
>>
>
>
--
Adrian Klaver
adrian.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, gptmailinglists@gmail.com
Subject: Re: How to declare PG version for compiling extensions.
In-Reply-To: <5a1810c6-002d-874b-736d-458248b96b00@aklaver.com>
References: <CADep2PPaDW-7pFhSEgQina_P5x2anrV3Qxv7xq3zXkEhk25S=w@mail.gmail.com> <CADep2PPyZ_92g=LZMzsaNZVwDwveVOj9Mv8xweFL9SDZusLEpQ@mail.gmail.com> <5a1810c6-002d-874b-736d-458248b96b00@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox