]> granicus.if.org Git - postgresql/commit
Make more consistent some error messages for file-related operations
authorMichael Paquier <michael@paquier.xyz>
Mon, 23 Jul 2018 00:19:12 +0000 (09:19 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 23 Jul 2018 00:19:12 +0000 (09:19 +0900)
commit56df07bb9e50a3ca4d148c537524f00bccc6650e
tree956caf698c1e2cfb5f7f88c03c48fa61ad313072
parent6b4d860311e99621681f25db5db82f88348d8ea6
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
contrib/pg_stat_statements/pg_stat_statements.c
src/backend/access/transam/xlog.c
src/bin/pg_basebackup/pg_recvlogical.c