Re: [PATCH] Run UTF8-dependent tests for citext [Re: daitch_mokotoff module] - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] Run UTF8-dependent tests for citext [Re: daitch_mokotoff module]
Date
Msg-id 793161.1641407922@sss.pgh.pa.us
Whole thread Raw
In response to [PATCH] Run UTF8-dependent tests for citext [Re: daitch_mokotoff module]  (Dag Lem <dag@nimrod.no>)
List pgsql-hackers
Dag Lem <dag@nimrod.no> writes:
> Please find attached a patch to run the previously commented-out
> UTF8-dependent tests for citext, according to best practice. For now I
> don't dare to touch the unaccent module, which seems to be UTF8-only
> anyway.

I tried this on a bunch of different locale settings and concluded that
we need to restrict the locale to avoid failures: it falls over with
locale C.  With that, it passes on all UTF8 LANG settings on RHEL8
and FreeBSD 12, and all except am_ET.UTF-8 on current macOS.  I'm not
sure what the deal is with am_ET, but macOS has a long and sad history
of wonky UTF8 locales, so I was actually expecting worse.  If the
buildfarm shows more problems, we can restrict it further --- I won't
be too upset if we end up restricting to just Linux systems, like
collate.linux.utf8.  Anyway, pushed to see what happens.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Zhihong Yu
Date:
Subject: Re: [Proposal] Add foreign-server health checks infrastructure
Next
From: Andres Freund
Date:
Subject: Re: [EXTERNAL] Re: PQcancel does not use tcp_user_timeout, connect_timeout and keepalive settings