From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Make more consistent some error messages for file-related operat |
Date: | 2018-07-23 00:20:40 |
Message-ID: | E1fhOae-0005GL-Na@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2018-07-23 00:38:32 | pgsql: Add proper errcodes to new error messages for read() failures |
Previous Message | Andres Freund | 2018-07-23 00:06:18 | pgsql: Fix JITed EEOP_AGG_INIT_TRANS, which missed some state. |