Re: [HACKERS] Make defines in pg_config_manual.h conditional? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Make defines in pg_config_manual.h conditional?
Date
Msg-id 8026.1492190908@sss.pgh.pa.us
Whole thread Raw
In response to [HACKERS] Make defines in pg_config_manual.h conditional?  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> ATM the defines in pg_config_manual.h are largely unconditional - which
> means the file has to be edited instead of being able to override things
> via CFLAGS/COPT.  Is there any good reason for doing so?

YES.  If you do things like that, the installed version of
pg_config_manual.h will not reflect the way the backend was built,
which is likely to break pgxs-type builds of addon modules later.

Just edit the file.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: [HACKERS] Make defines in pg_config_manual.h conditional?
Next
From: Fujii Masao
Date:
Subject: Re: [HACKERS] logical replication and PANIC during shutdowncheckpoint in publisher