Re: ecpg_config.h symbol missing with meson

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ecpg_config.h symbol missing with meson
Дата
Msg-id 1580077.1713370500@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ecpg_config.h symbol missing with meson  (Peter Eisentraut <peter@eisentraut.org>)
Ответы Re: ecpg_config.h symbol missing with meson  (Peter Eisentraut <peter@eisentraut.org>)
Список pgsql-hackers
Peter Eisentraut <peter@eisentraut.org> writes:
> I checked the generated ecpg_config.h with make and meson, and the meson 
> one is missing

> #define HAVE_LONG_LONG_INT 1

> This is obviously quite uninteresting, since that is required by C99. 
> But it would be more satisfactory if we didn't have discrepancies like 
> that.  Note that we also kept ENABLE_THREAD_SAFETY in ecpg_config.h for 
> compatibility.
> ...
> Alternatively, we could remove the symbol from the make side.

Think I'd vote for removing it, since we use it nowhere.
The ENABLE_THREAD_SAFETY precedent feels a little bit different,
since there's not the C99-requires-the-feature angle.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Borisov
Дата:
Сообщение: Re: [PATCH] Improve amcheck to also check UNIQUE constraint in btree index.
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: Parallel CREATE INDEX for BRIN indexes