pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
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: Tue, 15 Aug 2017 00:56:46 -0400
Message-ID: <5657.1502773006@sss.pgh.pa.us> (raw)
In-Reply-To: <CAH2-Wzmfimr5DPW0c=-LYfWXZnct5bSxGjTyCwAvp=mbKCMzow@mail.gmail.com>
References: <57860965-169f-461b-81f0-60d398894938@manitou-mail.org>
	<10186.1501989988@sss.pgh.pa.us>
	<1b0681a0-83d6-4cce-cf6d-f90cfe3b2069@2ndquadrant.com>
	<32388.1502127050@sss.pgh.pa.us>
	<CA+TgmoZXmrFu9oYbPXcDbHcDSYpZzPRm-VZc7pVoiDOiHMSGNw@mail.gmail.com>
	<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>
	<25202.1502752318@sss.pgh.pa.u! s>
	<CAH2-WzmeMSgjO-TocH7+v7vuwzv8C77eqGcTCTGSRattOK2ZLw@mail.gmail.com>
	<4421.1502770982@sss.pgh.pa.us>
	<CAH2-Wzmfimr5DPW0c=-LYfWXZnct5bSxGjTyCwAvp=mbKCMzow@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Peter Geoghegan <pg@bowt.ie> writes:
> I take it that you're in agreement with me on
> pg_import_system_collations() adding a display name as a comment -- we
> should prevent that, even for v10?

I'm kind of agnostic on that.  I think we've established that that's
not what we want for v11 and up, but it's not clear to me that the
current behavior isn't an acceptable short-term answer.  If there
are comments in v10, and then in v11 there aren't because the data
went somewhere else, what will that really break?

BTW, it strikes me that a description function that produces strings
in the database's language/encoding is not without gotchas.  Suppose,
for example, that we have a database using UTF8 while psql is using
client_encoding LATIN1.  If \dO calls a function that produces random
non-ASCII strings, then there's a significant hazard of \dO failing
altogether due to encoding conversion failure on the way to the client.
That doesn't seem like it will pass muster.  I'm not sure what to do
instead, but this seems like a reason why there's value in plain-ASCII
descriptions.

			regards, tom lane


-- 
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: <5657.1502773006@sss.pgh.pa.us>
Permalink:  ../5657.1502773006@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5657.1502773006@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, pg@bowt.ie, peter.eisentraut@2ndquadrant.com, robertmhaas@gmail.com, daniel@manitou-mail.org
  Subject: Re: Crash report for some ICU-52 (debian8) COLLATE and work_mem values
  In-Reply-To: <5657.1502773006@sss.pgh.pa.us>
  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-WzmeMSgjO-TocH7+v7vuwzv8C77eqGcTCTGSRattOK2ZLw@mail.gmail.com> <4421.1502770982@sss.pgh.pa.us> <CAH2-Wzmfimr5DPW0c=-LYfWXZnct5bSxGjTyCwAvp=mbKCMzow@mail.gmail.com> <5657.1502773006@sss.pgh.pa.us>

* 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