Re: How to declare PG version for compiling extensions.

From: GPT <gptmailinglists(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How to declare PG version for compiling extensions.
Date: 2018-10-22 13:53:04
Message-ID: CADep2PPyZ_92g=LZMzsaNZVwDwveVOj9Mv8xweFL9SDZusLEpQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

Tia

On 10/22/18, GPT <gptmailinglists(at)gmail(dot)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
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scot Kreienkamp 2018-10-22 13:53:40 Replication question
Previous Message GPT 2018-10-22 08:39:09 How to declare PG version for compiling extensions.