Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhTuX-0000Vn-J7 for pgsql-bugs@arkaria.postgresql.org; Tue, 15 Aug 2017 04:57:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dhTuW-0000MQ-1A for pgsql-bugs@arkaria.postgresql.org; Tue, 15 Aug 2017 04:57:00 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dhTuV-0000MG-FD for pgsql-bugs@postgresql.org; Tue, 15 Aug 2017 04:56:59 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dhTuO-0008IA-Fm for pgsql-bugs@postgresql.org; Tue, 15 Aug 2017 04:56:58 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v7F4ukwW005658; Tue, 15 Aug 2017 00:56:47 -0400 From: Tom Lane To: Peter Geoghegan cc: Peter Eisentraut , Robert Haas , Daniel Verite , PostgreSQL mailing lists Subject: Re: Crash report for some ICU-52 (debian8) COLLATE and work_mem values In-reply-to: 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> <10910.1502302068@sss.pgh.pa.us> <8830.1502313961@sss.pgh.pa.us> <5261d23c-1864-bec9-538c-24f25c7629cc@2ndquadrant.com> <13673.1502733657@sss.pgh.pa.us> <28715.1502735531@sss.pgh.pa.us> <7355.1502738237@sss.pgh.pa.us> <25202.1502752318@sss.pgh.pa.u! s> <4421.1502770982@sss.pgh.pa.us> Comments: In-reply-to Peter Geoghegan message dated "Mon, 14 Aug 2017 21:41:23 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5656.1502773006.1@sss.pgh.pa.us> Date: Tue, 15 Aug 2017 00:56:46 -0400 Message-ID: <5657.1502773006@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Peter Geoghegan 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