pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Reduce assumptions about locale's behavior in new regex tests.
Date: Tue, 17 Aug 2021 17:00:41 +0000
Message-ID: <E1mG2S9-0001IU-UB@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1mG2S9-0001IU-UB@gemulon.postgresql.org>
Permalink:  ../E1mG2S9-0001IU-UB@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mG2S9-0001IU-UB@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Reduce assumptions about locale's behavior in new regex tests.
  In-Reply-To: <E1mG2S9-0001IU-UB@gemulon.postgresql.org>
  References: <E1mG2S9-0001IU-UB@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox