pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: Re: [COMMITTERS] pgsql: Add citext_pattern_ops for citext contrib module
Date: Tue, 19 Sep 2017 14:47:26 -0400
Message-ID: <35e4bdfa-2f28-36e6-e1e9-de5149432aef@2ndQuadrant.com> (raw)
In-Reply-To: <5808.1505833891@sss.pgh.pa.us>
References: <E1duHjz-00012d-P1@gemulon.postgresql.org>
	<4296eaa9-d9ba-7c36-f31e-4d5e9d080685@2ndQuadrant.com>
	<5808.1505833891@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>



On 09/19/2017 11:11 AM, Tom Lane wrote:
> Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:
>> This seems to have upset a number or animals in the buildfarm.
> Actually, after looking closer, my advice is just to drop the new
> test cases involving accented letters.  It surprises me not in the
> least that those would have nonportable behavior: probably, some
> locales will case-fold them and some won't.
>
> (This does open up some questions about whether the opclass will
> ever be of use for Alexey's original purpose :-()

Actually, it now looks to me like the problem is we forgot to tell
postgres that this data is in utf8. The problem appears to resolve (at
least on my CentOS test box, where I reproduced the buildfarm error) if
I add

    set client_encoding = 'utf8';

to the sql file.

Of course UTF8 bytes interpreted as LATIN1 will give results that are
... interesting.

So let's try that first and see if it make the buildfarm go green. Maybe
there's hope for Alexey's purpose after all.

cheers

andrew

-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (8+ messages)  latest in thread

Message-ID: <35e4bdfa-2f28-36e6-e1e9-de5149432aef@2ndQuadrant.com>
Permalink:  ../35e4bdfa-2f28-36e6-e1e9-de5149432aef@2ndQuadrant.com/
Also on:    postgresql.org/message-id/35e4bdfa-2f28-36e6-e1e9-de5149432aef@2ndQuadrant.com

 · 

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: andrew.dunstan@2ndquadrant.com, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Add citext_pattern_ops for citext contrib module
  In-Reply-To: <35e4bdfa-2f28-36e6-e1e9-de5149432aef@2ndQuadrant.com>
  References: <E1duHjz-00012d-P1@gemulon.postgresql.org> <4296eaa9-d9ba-7c36-f31e-4d5e9d080685@2ndQuadrant.com> <5808.1505833891@sss.pgh.pa.us> <35e4bdfa-2f28-36e6-e1e9-de5149432aef@2ndQuadrant.com>

* 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