pgsql: Include in fe-auth.c, to get CHAR_BIT reliably.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Include in fe-auth.c, to get CHAR_BIT reliably.
Дата
Msg-id E1qLVFG-000sdi-Cp@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Include <limits.h> in fe-auth.c, to get CHAR_BIT reliably.

fe-auth.c references CHAR_BIT since commit 3a465cc67, but it
did not #include <limits.h>, which per POSIX is where that
symbol is defined.  This escaped notice so far because
(a) on most platforms, <sys/param.h> pulls in <limits.h>,
(b) even if yours doesn't, OpenSSL pulls it in, so compiling
with --with-openssl masks the omission.

Per bug #18026 from Marcel Hofstetter.  Back-patch to v16.

Discussion: https://postgr.es/m/18026-d5bb69f79cd16203@postgresql.org

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/efe8d8226929137f8c96f45e0904868b53ba56bc

Modified Files
--------------
src/interfaces/libpq/fe-auth.c | 1 +
1 file changed, 1 insertion(+)


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

Предыдущее
От: Nathan Bossart
Дата:
Сообщение: pgsql: Remove db_user_namespace.
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix recovery of 2PC transaction during crash recovery