fuzzystrmatch: use pg_ascii_toupper().

Jeff Davis <jdavis@postgresql.org>

Commit: b96a9fd76f321b638e5d4b566718189dc42fc532
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2026-01-12T16:54:04Z
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@eisentraut.org>
Discussion: https://postgr.es/m/dd0cdd1f-e786-426e-b336-1ffa9b2f1fc6%40eisentraut.org

Files

PathChange+/−
contrib/fuzzystrmatch/fuzzystrmatch.c modified +24 −19

Discussion