Add LOG_NEVER error level code.

Nathan Bossart <nathan@postgresql.org>

Commit: 60165db6e1f21ec6cbfce4fd8fd1e521a043d954
Author: Nathan Bossart <nathan@postgresql.org>
Date: 2026-04-09T15:18:15Z
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

Files

PathChange+/−
src/backend/postmaster/autovacuum.c modified +2 −1
src/include/utils/elog.h modified +1 −0

Discussion