pgsql: Clean up ICU includes.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Clean up ICU includes.
Date: 2026-01-07 01:20:06
Message-ID: E1vdIDV-004zxl-1B@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Clean up ICU includes.

Remove ICU includes from pg_locale.h, and instead include them in the
few C files that need ICU. Clean up a few other includes in passing.

Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
Discussion: https://postgr.es/m/48911db71d953edec66df0d2ce303563d631fbe0.camel@j-davis.com

Branch
------
master

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

Modified Files
--------------
src/backend/commands/collationcmds.c | 4 ++++
src/backend/utils/adt/formatting.c | 8 --------
src/backend/utils/adt/pg_locale.c | 14 ++++++++++++++
src/backend/utils/adt/pg_locale_icu.c | 2 ++
src/backend/utils/adt/varlena.c | 11 ++++++-----
src/include/utils/pg_locale.h | 16 ++++------------
6 files changed, 30 insertions(+), 25 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2026-01-07 02:39:16 pgsql: Add data type oid8, 64-bit unsigned identifier
Previous Message Andres Freund 2026-01-07 01:04:06 pgsql: Fix buggy interaction between array subscripts and subplan param