Skip to content
Snippets Groups Projects
  • Tom Lane's avatar
    1e16a810
    Teach regular expression operators to honor collations. · 1e16a810
    Tom Lane authored
    This involves getting the character classification and case-folding
    functions in the regex library to use the collations infrastructure.
    Most of this work had been done already in connection with the upper/lower
    and LIKE logic, so it was a simple matter of transposition.
    
    While at it, split out these functions into a separate source file
    regc_pg_locale.c, so that they can be correctly labeled with the Postgres
    project's license rather than the Scriptics license.  These functions are
    100% Postgres-written code whereas what remains in regc_locale.c is still
    mostly not ours, so lumping them both under the same copyright notice was
    getting more and more misleading.
    1e16a810
    History
    Teach regular expression operators to honor collations.
    Tom Lane authored
    This involves getting the character classification and case-folding
    functions in the regex library to use the collations infrastructure.
    Most of this work had been done already in connection with the upper/lower
    and LIKE logic, so it was a simple matter of transposition.
    
    While at it, split out these functions into a separate source file
    regc_pg_locale.c, so that they can be correctly labeled with the Postgres
    project's license rather than the Scriptics license.  These functions are
    100% Postgres-written code whereas what remains in regc_locale.c is still
    mostly not ours, so lumping them both under the same copyright notice was
    getting more and more misleading.