Fix missed case for builtin collation provider.
authorJeff Davis
Fri, 11 Oct 2024 23:58:22 +0000 (16:58 -0700)
committerJeff Davis
Fri, 11 Oct 2024 23:59:10 +0000 (16:59 -0700)
commitff33df26c2446107a20e3432b4c73850536678b9
treeecb449b3c7891d943df333a7ab0206f654f0a010
parent912d15cba50c257f2195f79d3f80bad26996c018
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[email protected]
Backpatch-through: 17
src/backend/utils/adt/like_support.c