From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix build failure with newer ICU
Date: Thu, 01 Jul 2021 08:58:27 +0000
Message-ID: <E1lysWh-0007eN-3m@gemulon.postgresql.org> (raw)
Fix build failure with newer ICU
ICU 69 causes compile failures with PostgreSQL 10. ICU 69 has
switched to using stdbool.h, which conflicts with the home-made
definitions that we used until PostgreSQL 10. Newer PostgreSQL major
versions are therefore not affected. (Older PostgreSQL versions don't
have ICU support.)
The workaround is to undefine "bool" after including ICU headers,
similar to the solution already in place for plperl for the same
underlying reasons.
Discussion: https://www.postgresql.org/message-id/flat/28588e5a-c204-0361-01f1-a1ee1b590233%40enterprisedb.com
Branch
------
REL_10_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/e7be25039e4923a3a28a708d0cc141136e80546e
Modified Files
--------------
src/backend/utils/adt/formatting.c | 4 ++++
src/backend/utils/adt/pg_locale.c | 4 ++++
src/include/utils/pg_locale.h | 4 ++++
3 files changed, 12 insertions(+)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org
Subject: Re: pgsql: Fix build failure with newer ICU
In-Reply-To: <E1lysWh-0007eN-3m@gemulon.postgresql.org>
References: <E1lysWh-0007eN-3m@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox