From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Improve wording of some pg_upgrade failure reports.
Date: Wed, 12 May 2021 18:14:06 -0400
Message-ID: <1361791.1620857646@sss.pgh.pa.us> (raw)
In-Reply-To: <92276bad-c850-4207-4863-96ec60116ee1@enterprisedb.com>
References: <E1lcCWf-0008S3-RE@gemulon.postgresql.org>
<92276bad-c850-4207-4863-96ec60116ee1@enterprisedb.com>
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
> On 29.04.21 21:40, Tom Lane wrote:
>> Don't advocate dropping a whole table when dropping a column would
>> serve. While at it, try to make the layout of these messages a
>> bit cleaner and more consistent.
> I don't understand how this makes the message layout cleaner.
The main thing that's cleaner IMO is that it's separated what one
could call the primary error message ("Your installation contains FOO.")
from the errdetail, which formerly was run onto the same line in
some cases, but not others.
For translatability purposes, maybe we could consider how to split
those texts into separate message strings for each sentence? The
detail text is pretty nearly boilerplate and could be unified,
I suspect.
regards, tom lane
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: tgl@sss.pgh.pa.us, peter.eisentraut@enterprisedb.com
Subject: Re: pgsql: Improve wording of some pg_upgrade failure reports.
In-Reply-To: <1361791.1620857646@sss.pgh.pa.us>
References: <E1lcCWf-0008S3-RE@gemulon.postgresql.org> <92276bad-c850-4207-4863-96ec60116ee1@enterprisedb.com> <1361791.1620857646@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