Re: What generates pg_config.h?

From: Travis Allison <travisallison(at)gmail(dot)com>
To: Christoph Berg <myon(at)debian(dot)org>, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, Travis Allison <travisallison(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, floriparob(at)gmail(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: What generates pg_config.h?
Date: 2018-01-06 20:36:34
Message-ID: CAEJ64tZk0=M7MDH3=fY9sBK=j=4ZHsBiES9azfKQwiC3z-h-wg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I wanted to thank all of you for solving my problem. You have all been
unbelievably helpful!

Travis

On Sat, Jan 6, 2018 at 7:42 AM, Christoph Berg <myon(at)debian(dot)org> wrote:

> Re: Adrian Klaver 2018-01-06 <67591f85-a910-2e0b-1fdd-
> 9c774eacd65f(at)aklaver(dot)com>
> > The problem you are running into is that the build process is using both
> the
> > older(9.6.5) and newer(10.0) pg_config.h at the same time.
>
> Fwiw, all issues I've seen so far of that kind could be resolved by
> putting -I$(pg_config --includedir-server) before -I$(pg_config
> --includedir) in the Makefile.
>
> I don't know of any PG extension existing in the wild that does not
> work with having both /usr/include/postgresql/$version/server/pg_config.h
> and /usr/include/postgresql/pg_config.h installed - and we are
> packaging a lot of extensions for apt.postgresql.org for non-latest
> majors.
>
> Christoph
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ken Tanzer 2018-01-07 04:46:01 Two columns with same name in subselect--any way to SELECT without *?
Previous Message Rui DeSousa 2018-01-06 19:59:04 Re: Ideas to deal with table corruption