pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use errmsg_internal for debug messages
Date: Wed, 17 Feb 2021 10:53:37 +0000
Message-ID: <E1lCKSf-0001Kq-8O@gemulon.postgresql.org> (raw)

Use errmsg_internal for debug messages

An inconsistent set of debug-level messages was not using
errmsg_internal(), thus uselessly exposing the messages to translation
work.  Fix those.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0e392fcc0d5ab73c81d9284e7dda5acbb7ad6d21

Modified Files
--------------
contrib/amcheck/verify_nbtree.c            | 12 ++++++------
contrib/pg_prewarm/autoprewarm.c           |  2 +-
src/backend/access/transam/multixact.c     |  6 +++---
src/backend/access/transam/slru.c          |  2 +-
src/backend/access/transam/varsup.c        |  2 +-
src/backend/access/transam/xlog.c          | 24 ++++++++++++------------
src/backend/catalog/dependency.c           |  2 +-
src/backend/catalog/index.c                |  6 ++----
src/backend/commands/indexcmds.c           |  2 +-
src/backend/commands/subscriptioncmds.c    |  4 ++--
src/backend/commands/tablecmds.c           | 12 ++++++------
src/backend/jit/llvm/llvmjit.c             |  2 +-
src/backend/libpq/be-secure.c              |  2 +-
src/backend/parser/parse_utilcmd.c         |  2 +-
src/backend/partitioning/partbounds.c      |  4 ++--
src/backend/port/win32_shmem.c             |  4 ++--
src/backend/postmaster/autovacuum.c        |  6 +++---
src/backend/postmaster/bgworker.c          |  6 +++---
src/backend/postmaster/checkpointer.c      |  2 +-
src/backend/postmaster/postmaster.c        |  2 +-
src/backend/postmaster/syslogger.c         |  2 +-
src/backend/replication/logical/launcher.c |  4 ++--
src/backend/replication/syncrep.c          |  2 +-
src/backend/replication/walsender.c        |  2 +-
src/backend/storage/lmgr/predicate.c       |  2 +-
src/backend/storage/lmgr/proc.c            |  4 ++--
src/backend/storage/smgr/md.c              |  2 +-
src/backend/storage/sync/sync.c            |  2 +-
src/backend/tcop/postgres.c                | 12 ++++++------
src/backend/utils/init/miscinit.c          |  2 +-
30 files changed, 68 insertions(+), 70 deletions(-)



view thread (3+ messages)  latest in thread

Message-ID: <E1lCKSf-0001Kq-8O@gemulon.postgresql.org>
Permalink:  ../E1lCKSf-0001Kq-8O@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lCKSf-0001Kq-8O@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Use errmsg_internal for debug messages
  In-Reply-To: <E1lCKSf-0001Kq-8O@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox