Simplify passing of configure arguments to pg_config

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Simplify passing of configure arguments to pg_config
Date: 2019-12-02 12:27:19
Message-ID: 6e457870-cef5-5f1d-b57c-fc89cfb8a788@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Currently, configure puts the configure args into the makefiles and
then have the makefiles pass them to the build of pg_config. That looks
like an unnecessary redirection, and indeed that method was
put in place when pg_config was a shell script. We can simplify that
by having configure put the value into pg_config.h directly. This
also makes the standard build system match how the MSVC build system
already does it.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
0001-Simplify-passing-of-configure-arguments-to-pg_config.patch text/plain 4.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2019-12-02 12:57:31 Re: Failure in TAP tests of pg_ctl on Windows with parallel instance set
Previous Message Etsuro Fujita 2019-12-02 11:44:55 Re: Bogus EXPLAIN results with column aliases for mismatched partitions