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

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Make more consistent some error messages for file-relatedoperat
Дата
Msg-id E1fhOae-0005GL-Na@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: Fix JITed EEOP_AGG_INIT_TRANS, which missed some state.
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Add proper errcodes to new error messages for read() failures