agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix like_fixed_prefix_ci() selectivity.
Date: Wed, 15 Jul 2026 19:36:23 +0000
Message-ID: <E1wk5P4-000L9k-1x@gemulon.postgresql.org> (raw)

Fix like_fixed_prefix_ci() selectivity.

A wrong calculation introduced by 9c8de15969 could cause trailing
characters from the prefix to be passed to like_selectivity() rather
than just the "rest".

Discussion: https://postgr.es/m/c7334a7a44243d2e4ec5e83747589908b3787491.camel@j-davis.com
Backpatch-through: 19

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/94e1b104f8db88837e5ef13a6692dad746e3690f

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



view thread (2+ messages)

Message-ID: <E1wk5P4-000L9k-1x@gemulon.postgresql.org>
Permalink:  ../E1wk5P4-000L9k-1x@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wk5P4-000L9k-1x@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 like_fixed_prefix_ci() selectivity.
  In-Reply-To: <E1wk5P4-000L9k-1x@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox