pgsql: fuzzystrmatch: use pg_ascii_toupper().

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: fuzzystrmatch: use pg_ascii_toupper().
Date: 2026-01-12 16:57:07
Message-ID: E1vfLE2-0003zs-1i@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

fuzzystrmatch: use pg_ascii_toupper().

fuzzystrmatch is designed for ASCII, so no need to rely on the global
LC_CTYPE setting.

Reviewed-by: Peter Eisentraut <peter(at)eisentraut(dot)org>
Discussion: https://postgr.es/m/dd0cdd1f-e786-426e-b336-1ffa9b2f1fc6%40eisentraut.org

Branch
------
master

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

Modified Files
--------------
contrib/fuzzystrmatch/fuzzystrmatch.c | 43 +++++++++++++++++++----------------
1 file changed, 24 insertions(+), 19 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Álvaro Herrera 2026-01-12 17:14:20 pgsql: Stop including {brin,gin}_tuple.h in tuplesort.h
Previous Message Álvaro Herrera 2026-01-12 15:59:55 pgsql: Move instrumentation-related structs to instrument_node.h