pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Simplify checking for xlocale.h
Date: Tue, 01 Oct 2024 12:04:03 +0000
Message-ID: <E1svbbm-001iOq-Ib@gemulon.postgresql.org> (raw)

Simplify checking for xlocale.h

Instead of XXX_IN_XLOCALE_H for several features XXX, let's just
include <xlocale.h> if HAVE_XLOCALE_H.  The reason for the extra
complication was apparently that some old glibc systems also had an
<xlocale.h>, and you weren't supposed to include it directly, but it's
gone now (as far as I can tell it was harmless to do so anyway).

Author: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://postgr.es/m/CWZBBRR6YA8D.8EHMDRGLCKCD%40neon.tech

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9c2a6c5a5f4b94a93120009e623ae8bd153e6dbb

Modified Files
--------------
config/c-library.m4                          |  55 --------------
configure                                    | 104 +--------------------------
configure.ac                                 |   4 +-
meson.build                                  |  33 +--------
src/include/c.h                              |   3 +
src/include/pg_config.h.in                   |   9 +--
src/include/utils/pg_locale.h                |   3 -
src/interfaces/ecpg/ecpglib/ecpglib_extern.h |   3 -
src/port/chklocale.c                         |   4 --
9 files changed, 9 insertions(+), 209 deletions(-)



Message-ID: <E1svbbm-001iOq-Ib@gemulon.postgresql.org>
Permalink:  ../E1svbbm-001iOq-Ib@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1svbbm-001iOq-Ib@gemulon.postgresql.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Simplify checking for xlocale.h
  In-Reply-To: <E1svbbm-001iOq-Ib@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