Fix missed case for builtin collation provider.

Jeff Davis <jdavis@postgresql.org>

Commit: ff33df26c2446107a20e3432b4c73850536678b9
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2024-10-11T23:59:10Z
Releases: 17.1
Fix missed case for builtin collation provider.

A missed check for the builtin collation provider could result in
falling through to call isalpha().

This does not appear to have practical consequences because it only
happens for characters in the ASCII range. Regardless, the builtin
provider should not be calling libc functions, so backpatch.

Discussion: https://postgr.es/m/1bd5a0a5192f82c22ee7527e825b18ab0028b2c7.camel@j-davis.com
Backpatch-through: 17

Files

PathChange+/−
src/backend/utils/adt/like_support.c modified +1 −1

Discussion