agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add LOG_NEVER error level code.
Date: Thu, 09 Apr 2026 15:18:35 +0000
Message-ID: <E1wAr9O-0009vq-1r@gemulon.postgresql.org> (raw)

Add LOG_NEVER error level code.

This logging level means not to emit the log, which is useful for
functions like relation_needs_vacanalyze().  This function accepts
a log level argument but not all callers want it to emit logs.

Suggested-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/3101163.1775676098%40sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/60165db6e1f21ec6cbfce4fd8fd1e521a043d954

Modified Files
--------------
src/backend/postmaster/autovacuum.c | 3 ++-
src/include/utils/elog.h            | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)



Message-ID: <E1wAr9O-0009vq-1r@gemulon.postgresql.org>
Permalink:  ../E1wAr9O-0009vq-1r@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wAr9O-0009vq-1r@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: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add LOG_NEVER error level code.
  In-Reply-To: <E1wAr9O-0009vq-1r@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox