pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix missed case for builtin collation provider.
2+ messages / 1 participants
[nested] [flat]

* pgsql: Fix missed case for builtin collation provider.
@ 2024-10-12 00:01 Jeff Davis <jdavis@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Jeff Davis @ 2024-10-12 00:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Fix missed case for builtin collation provider.
@ 2024-10-12 00:01 Jeff Davis <jdavis@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Jeff Davis @ 2024-10-12 00:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2024-10-12 00:01 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-10-12 00:01 pgsql: Fix missed case for builtin collation provider. Jeff Davis <jdavis@postgresql.org>
2024-10-12 00:01 pgsql: Fix missed case for builtin collation provider. Jeff Davis <jdavis@postgresql.org>

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