From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Remove function names from error messages
Date: Fri, 21 Dec 2018 11:05:37 -0300
Message-ID: <20181221140537.3qxe4atr6xg6lwzc@alvherre.pgsql> (raw)
In-Reply-To: <20181219234103.GC27104@paquier.xyz>
On 2018-Dec-20, Michael Paquier wrote:
> On Wed, Dec 19, 2018 at 05:53:48PM +0000, Alvaro Herrera wrote:
> > Remove function names from error messages
> >
> > They are not necessary, and having them there gives useless work for
> > translators.
>
> I am spotting a couple of extra ones for functions:
> src/backend/access/transam/xlog.c:
> (errmsg("pg_stop_backup cleanup done, waiting for required WAL segments
> to be archived")));
Yeah, I grepped for other uses and found format() being mentioned too,
but there didn't seem to be any repetition in the messages other than
the ones I patched, so I didn't bother. Thanks for following through
with these ones in the other thread.
I grepped using '()' as part of the pattern to find function names;
maybe there's a more comprehensive way.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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: alvherre@2ndquadrant.com, michael@paquier.xyz
Subject: Re: pgsql: Remove function names from error messages
In-Reply-To: <20181221140537.3qxe4atr6xg6lwzc@alvherre.pgsql>
References: <20181219234103.GC27104@paquier.xyz> <20181221140537.3qxe4atr6xg6lwzc@alvherre.pgsql>
* 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