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: Convert elog(LOG) calls to ereport() where appropriate
Date: Fri, 04 Dec 2020 13:30:44 +0000
Message-ID: <E1klBAa-0002An-Mg@gemulon.postgresql.org> (raw)

Convert elog(LOG) calls to ereport() where appropriate

User-visible log messages should go through ereport(), so they are
subject to translation.  Many remaining elog(LOG) calls are really
debugging calls.

Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Noah Misch <noah@leadboat.com>
Discussion: https://www.postgresql.org/message-id/flat/92d6f545-5102-65d8-3c87-489f71ea0a37%40enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/eb93f3a0b633ad6afb0f37391b87f460c4b0663b

Modified Files
--------------
src/backend/access/gist/gist.c           |   5 +-
src/backend/access/nbtree/nbtpage.c      |   7 ++-
src/backend/access/transam/xlog.c        | 100 +++++++++++++++++++++----------
src/backend/libpq/auth.c                 |   7 ++-
src/backend/libpq/hba.c                  |   3 +-
src/backend/libpq/pqcomm.c               |  56 +++++++++++------
src/backend/postmaster/bgworker.c        |   8 +--
src/backend/postmaster/pgstat.c          |  17 +++---
src/backend/postmaster/postmaster.c      |  44 +++++++++-----
src/backend/replication/logical/origin.c |   9 +--
src/backend/storage/file/fd.c            |   8 ++-
src/backend/utils/misc/guc.c             |   2 +-
12 files changed, 172 insertions(+), 94 deletions(-)



Message-ID: <E1klBAa-0002An-Mg@gemulon.postgresql.org>
Permalink:  ../E1klBAa-0002An-Mg@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1klBAa-0002An-Mg@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: Convert elog(LOG) calls to ereport() where appropriate
  In-Reply-To: <E1klBAa-0002An-Mg@gemulon.postgresql.org>
  References: <E1klBAa-0002An-Mg@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