pgsql: Reduce assumptions about locale's behavior in new regex tests.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Reduce assumptions about locale's behavior in new regex tests.
Date: 2021-08-17 17:00:41
Message-ID: E1mG2S9-0001IU-UB@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Reduce assumptions about locale's behavior in new regex tests.

I was overoptimistic to assume that UTF8-based locales would all
consider U+1500 to be a member of the [[:alpha:]] char class.
Tweak the test cases added by commit 78a843f11 to avoid that
assumption. We might need to lobotomize them further, but this
should be enough to fix the early buildfarm reports.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b66336c4e1af0e8eae520623e4b018251807b0bb

Modified Files
--------------
src/test/modules/test_regex/expected/test_regex_utf8.out | 12 ++++++------
src/test/modules/test_regex/sql/test_regex_utf8.sql | 6 +++---
2 files changed, 9 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-08-17 18:29:36 pgsql: Prevent ALTER TYPE/DOMAIN/OPERATOR from changing extension membe
Previous Message Tom Lane 2021-08-17 16:00:12 pgsql: Improve regex compiler's arc moving/copying logic.