Fix unintentional behavior change in commit e9931bfb75.
commite3fa2b037c6f0f435838e99200050dc54c306085
authorJeff Davis <jdavis@postgresql.org>
Tue, 3 Dec 2024 05:59:02 +0000 (2 21:59 -0800)
committerJeff Davis <jdavis@postgresql.org>
Tue, 3 Dec 2024 05:59:02 +0000 (2 21:59 -0800)
treec1468cf7a07d6b637e778487e7547e09c66ef8a7
parent4171c44c9b791da3c00386dc6d8e6b1842e3036b
Fix unintentional behavior change in commit e9931bfb75.

Prior to that commit, there was special case to use ASCII case mapping
behavior for the libc provider with a single-byte encoding when that's
the default collation. Commit e9931bfb75 mistakenly eliminated that
special case; this commit restores it.

Discussion: https://postgr.es/m/01a104f0d2179d756261e90d96fd65c36ad6fcf0.camel@j-davis.com
src/backend/utils/adt/formatting.c
src/backend/utils/adt/like.c
src/backend/utils/adt/pg_locale.c
src/include/utils/pg_locale.h