pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Peter Geoghegan <pg@bowt.ie>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Daniel Verite <daniel@manitou-mail.org>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: Crash report for some ICU-52 (debian8) COLLATE and work_mem values
Date: Thu, 17 Aug 2017 21:13:18 -0400
Message-ID: <c8e0cded-a04e-32e5-d9f4-d01191707e69@2ndquadrant.com> (raw)
In-Reply-To: <CAH2-WzmeMSgjO-TocH7+v7vuwzv8C77eqGcTCTGSRattOK2ZLw@mail.gmail.com>
References: <57860965-169f-461b-81f0-60d398894938@manitou-mail.org>
	<CAH2-WznjeN2Wb7q5Gkbbiz-gfG7HB=igNsakCPafVKiamckYiw@mail.gmail.com>
	<10910.1502302068@sss.pgh.pa.us>
	<CAH2-WznaMH3SNE9saGzcJPm7-uUL=g3bTS5itR7cEmBZhWcS2A@mail.gmail.com>
	<CAH2-Wz=CNO0u7BALZoRYqNpW=jC9ntFMek9goLqioaGJxWmJ2Q@mail.gmail.com>
	<8830.1502313961@sss.pgh.pa.us>
	<CAH2-Wzm18GG_1by_pYRLg3npoxTBUW2=oxZDtVmaqKteZWaybw@mail.gmail.com>
	<5261d23c-1864-bec9-538c-24f25c7629cc@2ndquadrant.com>
	<CAH2-WzkHUMDfagwqVFSepv7dJqrghpG39+LtJiENu9SKRAcuNg@mail.gmail.com>
	<13673.1502733657@sss.pgh.pa.us>
	<CAH2-WzkcL1kNjTTt+VkzXttDDPeHvRe2-tLeyJMF++jLLRNzNw@mail.gmail.com>
	<28715.1502735531@sss.pgh.pa.us>
	<CAH2-Wz=kCYnv9Yf49mbezK0jvt7czOhEBwS91PyNW=G1RuC2Bw@mail.gmail.com>
	<7355.1502738237@sss.pgh.pa.us>
	<CAH2-WzkD2D0pT5NX4+MitH420O6Lfn5aiD5zWqVKuVq3qOSDBQ@mail.gmail.com>
	<25202.1502752318@sss.pgh.pa.us>
	<CAH2-WzmeMSgjO-TocH7+v7vuwzv8C77eqGcTCTGSRattOK2ZLw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 8/14/17 23:55, Peter Geoghegan wrote:
> pg_import_system_collations() should simply use uloc_countAvailable()
> + uloc_getAvailable, rather than ucol_countAvailable() +
> ucol_getAvailable().

It's not clear to me that this is better.  Why do we need to use a
function that is clearly not the preferred API for this ("col" vs "loc")
just to get more entries?  If we go down this route, then we'll be on
the hook forever to keep adding more and more predefined entries by
whatever means necessary.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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



view thread (85+ messages)  latest in thread

Message-ID: <c8e0cded-a04e-32e5-d9f4-d01191707e69@2ndquadrant.com>
Permalink:  ../c8e0cded-a04e-32e5-d9f4-d01191707e69@2ndquadrant.com/
Also on:    postgresql.org/message-id/c8e0cded-a04e-32e5-d9f4-d01191707e69@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-bugs@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, pg@bowt.ie, tgl@sss.pgh.pa.us, robertmhaas@gmail.com, daniel@manitou-mail.org
  Subject: Re: Crash report for some ICU-52 (debian8) COLLATE and work_mem values
  In-Reply-To: <c8e0cded-a04e-32e5-d9f4-d01191707e69@2ndquadrant.com>
  References: <57860965-169f-461b-81f0-60d398894938@manitou-mail.org> <CAH2-WznjeN2Wb7q5Gkbbiz-gfG7HB=igNsakCPafVKiamckYiw@mail.gmail.com> <10910.1502302068@sss.pgh.pa.us> <CAH2-WznaMH3SNE9saGzcJPm7-uUL=g3bTS5itR7cEmBZhWcS2A@mail.gmail.com> <CAH2-Wz=CNO0u7BALZoRYqNpW=jC9ntFMek9goLqioaGJxWmJ2Q@mail.gmail.com> <8830.1502313961@sss.pgh.pa.us> <CAH2-Wzm18GG_1by_pYRLg3npoxTBUW2=oxZDtVmaqKteZWaybw@mail.gmail.com> <5261d23c-1864-bec9-538c-24f25c7629cc@2ndquadrant.com> <CAH2-WzkHUMDfagwqVFSepv7dJqrghpG39+LtJiENu9SKRAcuNg@mail.gmail.com> <13673.1502733657@sss.pgh.pa.us> <CAH2-WzkcL1kNjTTt+VkzXttDDPeHvRe2-tLeyJMF++jLLRNzNw@mail.gmail.com> <28715.1502735531@sss.pgh.pa.us> <CAH2-Wz=kCYnv9Yf49mbezK0jvt7czOhEBwS91PyNW=G1RuC2Bw@mail.gmail.com> <7355.1502738237@sss.pgh.pa.us> <CAH2-WzkD2D0pT5NX4+MitH420O6Lfn5aiD5zWqVKuVq3qOSDBQ@mail.gmail.com> <25202.1502752318@sss.pgh.pa.us> <CAH2-WzmeMSgjO-TocH7+v7vuwzv8C77eqGcTCTGSRattOK2ZLw@mail.gmail.com> <c8e0cded-a04e-32e5-d9f4-d01191707e69@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