Re: How to declare PG version for compiling extensions.

2018-10-23 Thread Andrew Gierth
> "GPT" == GPT writes: GPT> Unfortunately, I had not installed the following package: GPT> "postgresql-server-dev-11" GPT> By the way, shouldn't a warning message appear while trying to run: GPT> `PATH=/usr/lib/postgresql/11/bin:$PATH make USE_PGXS=1` GPT> warning the user that some

Re: How to declare PG version for compiling extensions.

2018-10-22 Thread Tom Lane
GPT writes: > 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

Re: How to declare PG version for compiling extensions.

2018-10-22 Thread Adrian Klaver
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.

Re: How to declare PG version for compiling extensions.

2018-10-22 Thread GPT
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 wrote: > Hi, >

How to declare PG version for compiling extensions.

2018-10-22 Thread GPT
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)