pgsql: Fix missed case for builtin collation provider.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix missed case for builtin collation provider.
Date: 2024-10-12 00:01:54
Message-ID: E1szPZy-000NOw-LT@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_17_STABLE

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

Modified Files
--------------
src/backend/utils/adt/like_support.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2024-10-12 18:56:21 pgsql: Correctly identify which EC members are computable at a plan nod
Previous Message Jeff Davis 2024-10-12 00:01:49 pgsql: Fix missed case for builtin collation provider.