pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Travis Allison <travisallison@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: floriparob@gmail.com
Cc: pgsql-general@postgresql.org
Subject: Re: What generates pg_config.h?
Date: Sat, 6 Jan 2018 16:42:43 +0100
Message-ID: <20180106154243.GD13939@msg.df7cb.de> (raw)
In-Reply-To: <67591f85-a910-2e0b-1fdd-9c774eacd65f@aklaver.com>
References: <20180105212750.ip5ek6v4p3tiix7e@alvherre.pgsql>
	<20599.1515192990@sss.pgh.pa.us>
	<CAEJ64tb7j1XR009TVfaEeh1=gkRgZ5vJ=sqfQ3WFg38YDBm5dw@mail.gmail.com>
	<22433.1515194991@sss.pgh.pa.us>
	<52b48b90-159a-0341-23e1-e88e52daa86d@aklaver.com>
	<CAEJ64tYkb2jHcXGujKSNrr1MPrz=sGiQa=Ds_pjKH9mWUVuhOw@mail.gmail.com>
	<28314.1515211514@sss.pgh.pa.us>
	<CAEJ64ta5QTU=fCUa-fBtGAr34jwQXoAiTcGf5p1oDRr_=rsMVw@mail.gmail.com>
	<67591f85-a910-2e0b-1fdd-9c774eacd65f@aklaver.com>

Re: Adrian Klaver 2018-01-06 <67591f85-a910-2e0b-1fdd-9c774eacd65f@aklaver.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




view thread (18+ messages)  latest in thread

Message-ID: <20180106154243.GD13939@msg.df7cb.de>
Permalink:  ../20180106154243.GD13939@msg.df7cb.de/
Also on:    postgresql.org/message-id/20180106154243.GD13939@msg.df7cb.de

 · 

reply

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: myon@debian.org, adrian.klaver@aklaver.com, travisallison@gmail.com, tgl@sss.pgh.pa.us, alvherre@alvh.no-ip.org, floriparob@gmail.com
  Subject: Re: What generates pg_config.h?
  In-Reply-To: <20180106154243.GD13939@msg.df7cb.de>
  References: <20180105212750.ip5ek6v4p3tiix7e@alvherre.pgsql> <20599.1515192990@sss.pgh.pa.us> <CAEJ64tb7j1XR009TVfaEeh1=gkRgZ5vJ=sqfQ3WFg38YDBm5dw@mail.gmail.com> <22433.1515194991@sss.pgh.pa.us> <52b48b90-159a-0341-23e1-e88e52daa86d@aklaver.com> <CAEJ64tYkb2jHcXGujKSNrr1MPrz=sGiQa=Ds_pjKH9mWUVuhOw@mail.gmail.com> <28314.1515211514@sss.pgh.pa.us> <CAEJ64ta5QTU=fCUa-fBtGAr34jwQXoAiTcGf5p1oDRr_=rsMVw@mail.gmail.com> <67591f85-a910-2e0b-1fdd-9c774eacd65f@aklaver.com> <20180106154243.GD13939@msg.df7cb.de>

* 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