pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Remove function names from error messages
Date: Wed, 19 Dec 2018 19:42:31 -0500
Message-ID: <13206.1545266551@sss.pgh.pa.us> (raw)
In-Reply-To: <20181219234103.GC27104@paquier.xyz>
References: <E1gZg2W-0008Lq-0w@gemulon.postgresql.org>
	<20181219234103.GC27104@paquier.xyz>

Michael Paquier <michael@paquier.xyz> writes:
> On Wed, Dec 19, 2018 at 05:53:48PM +0000, Alvaro Herrera wrote:
>> Remove function names from error messages

> 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")));
> src/backend/access/transam/xlog.c:
> (errmsg("pg_stop_backup still waiting for all required WAL segments to
> be archived (%d seconds elapsed)",

> Perhaps these could be improved as well?

Those are at least reporting SQL function names that the user will
recognize ... still, we don't normally localize error messages
by the reporting function name, so I tend to agree that these are
not following the style guide.

			regards, tom lane




view thread (8+ messages)  latest in thread

Message-ID: <13206.1545266551@sss.pgh.pa.us>
Permalink:  ../13206.1545266551@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13206.1545266551@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-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, michael@paquier.xyz, alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Remove function names from error messages
  In-Reply-To: <13206.1545266551@sss.pgh.pa.us>
  References: <E1gZg2W-0008Lq-0w@gemulon.postgresql.org> <20181219234103.GC27104@paquier.xyz> <13206.1545266551@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