Обсуждение: pgsql: Make more consistent some error messages for file-relatedoperat

Поиск
Список
Период
Сортировка

pgsql: Make more consistent some error messages for file-relatedoperat

От
Michael Paquier
Дата:
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(-)