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>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: ICU support
Date: Fri, 24 Mar 2017 03:43:06 -0400
Message-ID: <56aed98f-7cf1-018e-23d9-fefd7adf7fd3@2ndQuadrant.com> (raw)
In-Reply-To: <1960.1490327585@sss.pgh.pa.us>
References: <E1cr8Ub-0003aO-Kl@gemulon.postgresql.org>
	<0762156b-8258-0865-50d5-57b7c47cff71@2ndquadrant.com>
	<9886c4bf-2cc6-4db2-5512-a74148a752f8@2ndQuadrant.com>
	<32043.1490320966@sss.pgh.pa.us>
	<1960.1490327585@sss.pgh.pa.us>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>



On 03/23/2017 11:53 PM, Tom Lane wrote:
> I wrote:
>> The buildfarm's mostly happy, but "prion" still isn't, which
>> suggests there's someplace in the new code that references an
>> already-closed relcache entry.
> Ah, scratch that, I was overthinking it.  The problem is pretty
> clear from the error message:
>
> + ERROR:  collation "en-x-icu" for encoding "SQL_ASCII" does not exist
>
> I can reproduce this with vanilla configure options if I'm running
> with --with-icu and LANG=C.  In short, this regression test does not
> work in C locale, and you need to find a way to disable it in that
> environment.



Possibly something like this:

inline patch 1: src/test/regress/GNUmakefile (+4/-0 lines) download inline-1.patchdiff --git a/src/test/regress/GNUmakefile b/src/test/regress/GNUmakefile index a747fac..d3a68cb 100644 --- a/src/test/regress/GNUmakefile +++ b/src/test/regress/GNUmakefile @@ -126,8 +126,12 @@ tablespace-setup: REGRESS_OPTS = --dlpath=. $(EXTRA_REGRESS_OPTS) ifeq ($(with_icu),yes) +ifndef NO_LOCALE +ifneq ($(LANG),C) override EXTRA_TESTS := collate.icu $(EXTRA_TESTS) endif +endif +endif check: all tablespace-setup $(pg_regress_check) $(REGRESS_OPTS)
--schedule=$(srcdir)/parallel_schedule $(MAXCONNOPT) $(EXTRA_TESTS) cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

view thread (13+ messages)  latest in thread

Message-ID: <56aed98f-7cf1-018e-23d9-fefd7adf7fd3@2ndQuadrant.com>
Permalink:  ../56aed98f-7cf1-018e-23d9-fefd7adf7fd3@2ndQuadrant.com/
Also on:    postgresql.org/message-id/56aed98f-7cf1-018e-23d9-fefd7adf7fd3@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, peter.eisentraut@2ndquadrant.com
  Subject: Re: pgsql: ICU support
  In-Reply-To: <56aed98f-7cf1-018e-23d9-fefd7adf7fd3@2ndQuadrant.com>
  References: <E1cr8Ub-0003aO-Kl@gemulon.postgresql.org> <0762156b-8258-0865-50d5-57b7c47cff71@2ndquadrant.com> <9886c4bf-2cc6-4db2-5512-a74148a752f8@2ndQuadrant.com> <32043.1490320966@sss.pgh.pa.us> <1960.1490327585@sss.pgh.pa.us> <56aed98f-7cf1-018e-23d9-fefd7adf7fd3@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