Skip to content

Restore 4.20.1 behaviour for multi-character ESCAPE and the names of LIKE ... ESCAPE and ARRAY[...] columns - #2750

Merged
mathiasrw merged 3 commits into
developfrom
fix/restore-4.20.1
Oct 21, 2026
Merged

mathiasrw merged 3 commits into
developfrom
fix/restore-4.20.1

Conversation

@mathiasrw

Copy link
Copy Markdown
Member

Three changes merged on develop since 4.20.1 change answers that existing code may rely on. Backward compatibility comes first in 4.x, so they are taken back here and wait for 5.0:

Merged in What it changed This PR
#2568 LIKE … ESCAPE with more than one character throws "ESCAPE expression must be a single character" (it was ignored: ESCAPE '^^' matched every row) ignored again, as in 4.20.1
#2674 an unaliased s LIKE 'x!%' ESCAPE '!' column is named with ESCAPE …, and two aggregates that differ only in ESCAPE stop sharing one result 4.20.1 names and behaviour
#2691 an unaliased ARRAY[1, 2] column is named ARRAY[1, 2] (it was ARRAY[]) 4.20.1 names

For 5.0: the multi-character ESCAPE error is in breaking.md; the expression names belong to #2675 (expression text used as identity).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant