Add LOG_NEVER error level code.
Nathan Bossart <nathan@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/postmaster/autovacuum.c | modified | +2 −1 |
| src/include/utils/elog.h | modified | +1 −0 |
Discussion
- Add pg_stat_autovacuum_priority 61 messages · 2026-03-27 → 2026-04-09