From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Peter Geoghegan <pg(at)bowt(dot)ie> |
Cc: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Daniel Verite <daniel(at)manitou-mail(dot)org>, PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: Crash report for some ICU-52 (debian8) COLLATE and work_mem values |
Date: | 2017-08-15 04:56:46 |
Message-ID: | 5657.1502773006@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
Peter Geoghegan <pg(at)bowt(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2017-08-15 05:16:40 | Re: Crash report for some ICU-52 (debian8) COLLATE and work_mem values |
Previous Message | Peter Geoghegan | 2017-08-15 04:41:23 | Re: Crash report for some ICU-52 (debian8) COLLATE and work_mem values |
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2017-08-15 05:16:04 | Re: Explicit relation name in VACUUM VERBOSE log |
Previous Message | Peter Geoghegan | 2017-08-15 04:41:23 | Re: Crash report for some ICU-52 (debian8) COLLATE and work_mem values |