From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Factor out system call names from error messages |
Date: | 2021-04-23 12:36:51 |
Message-ID: | E1lZv3D-0003yF-UC@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Justin Pryzby | 2021-04-23 18:01:52 | Re: pgsql: autovacuum: handle analyze for partitioned tables |
Previous Message | Alexander Korotkov | 2021-04-23 10:26:23 | pgsql: Mark multirange_constructor0() and multirange_constructor2() str |