Re: [HACKERS] Make defines in pg_config_manual.h conditional?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Make defines in pg_config_manual.h conditional?
Дата
Msg-id 8026.1492190908@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [HACKERS] Make defines in pg_config_manual.h conditional?  (Andres Freund <andres@anarazel.de>)
Список 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 по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: [HACKERS] Make defines in pg_config_manual.h conditional?
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: [HACKERS] logical replication and PANIC during shutdowncheckpoint in publisher