From: Michael Paquier <michael@paquier.xyz>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: Postgres commits <pgsql-committers@postgresql.org>
Cc: Postgres hackers <pgsql-hackers@postgresql.org>
Subject: Re: pgsql: Allow extensions to install built as well as unbuilt headers.
Date: Wed, 5 Sep 2018 22:52:19 -0700
Message-ID: <20180906055219.GJ2726@paquier.xyz> (raw)
In-Reply-To: <878t4ftczz.fsf@news-spur.riddles.org.uk>
References: <E1fxfcT-00069A-V6@gemulon.postgresql.org>
<20180906051608.GI2726@paquier.xyz>
<878t4ftczz.fsf@news-spur.riddles.org.uk>
On Thu, Sep 06, 2018 at 06:26:51AM +0100, Andrew Gierth wrote:
> What version of GNU Make is on there, do you know? Tom? I don't see it
> mentioned in the output anywhere.
I don't know it. What I can see is that the use of "else ifdef" is
forbidden. You could bypass the problem with more ifdef-only tweaks,
but it seems to me that it would be cleaner to somewhat reduce the level
of dependency between all the different header concepts.
By the way, when you use at least two layers in ifdef/endif in pgxs.mk,
putting a comment close to the endif to mention which part gets closed
improves readability.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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-committers@postgresql.org
Cc: michael@paquier.xyz, andrew@tao11.riddles.org.uk, pgsql-hackers@postgresql.org
Subject: Re: pgsql: Allow extensions to install built as well as unbuilt headers.
In-Reply-To: <20180906055219.GJ2726@paquier.xyz>
References: <E1fxfcT-00069A-V6@gemulon.postgresql.org> <20180906051608.GI2726@paquier.xyz> <878t4ftczz.fsf@news-spur.riddles.org.uk> <20180906055219.GJ2726@paquier.xyz>
* 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