From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make more consistent some error messages for file-related operat
Date: Mon, 23 Jul 2018 00:20:40 +0000
Message-ID: <E1fhOae-0005GL-Na@gemulon.postgresql.org> (raw)
Make more consistent some error messages for file-related operations
Some error messages which report something about a file operation use
as well context which is already provided within the path being worked
on, making things rather duplicated. This creates more work for
translators, and does not actually bring clarity.
More could be done, however in a lot of cases the context used is
actually useful, still that patch gets down things with a good cut.
Author: Michael Paquier
Reviewed-by: Kyotaro Horiguchi, Tom Lane
Discussion: https://postgr.es/m/20180718044711.GA8565@paquier.xyz
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/56df07bb9e50a3ca4d148c537524f00bccc6650e
Modified Files
--------------
contrib/pg_stat_statements/pg_stat_statements.c | 32 ++++++++++----------
src/backend/access/transam/xlog.c | 39 ++++++++++++++-----------
src/bin/pg_basebackup/pg_recvlogical.c | 2 +-
3 files changed, 39 insertions(+), 34 deletions(-)
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: michael@paquier.xyz
Subject: Re: pgsql: Make more consistent some error messages for file-related operat
In-Reply-To: <E1fhOae-0005GL-Na@gemulon.postgresql.org>
References: <E1fhOae-0005GL-Na@gemulon.postgresql.org>
* 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