pgsql: Fix like_fixed_prefix_ci() selectivity. - Mailing list pgsql-committers

From Jeff Davis
Subject pgsql: Fix like_fixed_prefix_ci() selectivity.
Date
Msg-id E1wk5P4-000L9k-1x@gemulon.postgresql.org
Whole thread
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Jeff Davis
Date:
Subject: pgsql: Fix like_fixed_prefix_ci() selectivity.
Next
From: Daniel Gustafsson
Date:
Subject: pgsql: pgbench: Fix incorrect parameter name in error message