Factor out system call names from error messages
Instead, put them in via a format placeholder. This reduces the
number of distinct translatable messages and also reduces the chances
of typos during translation. We already did this for the system call
arguments in a number of cases, so this is just the same thing taken a
bit further.
Discussion: https://www.postgresql.org/message-id/flat/92d6f545-5102-65d8-3c87-489f71ea0a37%40enterprisedb.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/82c3cd974131d7fa1cfcd07cebfb04fffe26ee35
Modified Files
--------------
src/backend/libpq/pqcomm.c | 46 ++++++++++++++++++----------------
src/backend/postmaster/pgstat.c | 4 +--
src/backend/storage/ipc/latch.c | 25 ++++++++----------
src/bin/pg_basebackup/pg_recvlogical.c | 2 +-
src/bin/pg_basebackup/receivelog.c | 2 +-
src/bin/pg_dump/parallel.c | 6 ++---
src/bin/pg_upgrade/parallel.c | 2 +-
src/common/exec.c | 2 +-
src/interfaces/libpq/fe-connect.c | 15 +++++++----
src/interfaces/libpq/fe-misc.c | 3 ++-
10 files changed, 55 insertions(+), 52 deletions(-)