pgsql: All POSIX systems have langinfo.h and CODESET.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: All POSIX systems have langinfo.h and CODESET.
Date: 2024-08-13 10:36:14
Message-ID: E1sdosw-003ycm-Qt@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

All POSIX systems have langinfo.h and CODESET.

We don't need configure probes for HAVE_LANGINFO_H (it is implied by
!WIN32), and we don't need to consider systems that have it but don't
define CODESET (that was for OpenBSD in commit 81cca218, but it has now
had it for 19 years).

Reviewed-by: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Discussion: https://postgr.es/m/CA%2BhUKGJqVe0%2BPv9dvC9dSums_PXxGo9SWcxYAMBguWJUGbWz-A%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/14c648ff009438830d15de7c8a93c2b29114eb1c

Modified Files
--------------
configure | 2 +-
configure.ac | 1 -
meson.build | 1 -
src/bin/pg_upgrade/pg_upgrade.c | 4 ----
src/include/pg_config.h.in | 3 ---
src/port/chklocale.c | 20 +-------------------
6 files changed, 2 insertions(+), 29 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2024-08-13 11:00:09 pgsql: Include <xlocale.h> for older macOS.
Previous Message Peter Eisentraut 2024-08-13 08:10:00 pgsql: Use errmsg_internal for debug messages