diff options
author | Michael Paquier <michael@paquier.xyz> | 2018-07-23 09:19:12 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2018-07-23 09:19:12 +0900 |
commit | 56df07bb9e50a3ca4d148c537524f00bccc6650e (patch) | |
tree | 956caf698c1e2cfb5f7f88c03c48fa61ad313072 /src/bin/pg_basebackup/pg_recvlogical.c | |
parent | 6b4d860311e99621681f25db5db82f88348d8ea6 (diff) | |
download | postgresql-56df07bb9e50a3ca4d148c537524f00bccc6650e.tar.gz postgresql-56df07bb9e50a3ca4d148c537524f00bccc6650e.zip |
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
Diffstat (limited to 'src/bin/pg_basebackup/pg_recvlogical.c')
-rw-r--r-- | src/bin/pg_basebackup/pg_recvlogical.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_basebackup/pg_recvlogical.c b/src/bin/pg_basebackup/pg_recvlogical.c index ef85c9af4c7..a242e0be88b 100644 --- a/src/bin/pg_basebackup/pg_recvlogical.c +++ b/src/bin/pg_basebackup/pg_recvlogical.c @@ -197,7 +197,7 @@ OutputFsync(TimestampTz now) if (fsync(outfd) != 0) { fprintf(stderr, - _("%s: could not fsync log file \"%s\": %s\n"), + _("%s: could not fsync file \"%s\": %s\n"), progname, outfile, strerror(errno)); return false; } |