pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix missed case for builtin collation provider.
Date: Sat, 12 Oct 2024 00:01:49 +0000
Message-ID: <E1szPZu-000NOL-2S@gemulon.postgresql.org> (raw)

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/98c5b191e74b65b74149bb436b057d7007d401a7

Modified Files
--------------
src/backend/utils/adt/like_support.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1szPZu-000NOL-2S@gemulon.postgresql.org>
Permalink:  ../E1szPZu-000NOL-2S@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1szPZu-000NOL-2S@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: jdavis@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix missed case for builtin collation provider.
  In-Reply-To: <E1szPZu-000NOL-2S@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox