Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cf/5778~1
Choose a base ref
...
head repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cf/5778
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on May 27, 2025

  1. Fix SIMILAR TO regex translation for character classes

    The code that translates SIMILAR TO pattern matching expressions
    to regular expressions didn't consider that brackets can be nested,
    as in [[:alpha:]%], and replaced placeholders like _ and % where
    it shouldn't.
    
    Fix by tracking the nesting level of brackets while considering that
    in expressions like []] and [^]] the first closing bracket is a
    regular character.
    
    Author: Laurenz Albe <[email protected]>
    Reviewed-by: Michael Paquier <[email protected]>
    Discussion: https://postgr.es/m/[email protected]
    Backpatch-through: 13
    michaelpq authored and Commitfest Bot committed May 27, 2025
    Configuration menu
    Copy the full SHA
    62f6b78 View commit details
    Browse the repository at this point in the history
  2. [CF 5778] v3 - Fix regex translation of SIMILAR TO for bracket expres…

    …sions
    
    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5778
    
    The branch will be overwritten each time a new patch version is posted to
    the thread, and also periodically to check for bitrot caused by changes
    on the master branch.
    
    Patch(es): https://www.postgresql.org/message-id/[email protected]
    Author(s): Laurenz Albe
    Commitfest Bot committed May 27, 2025
    Configuration menu
    Copy the full SHA
    27484b5 View commit details
    Browse the repository at this point in the history
Loading