pgsql: Cleanup for log_min_messages changes in 38e0190ced71

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Cleanup for log_min_messages changes in 38e0190ced71
Date: 2026-02-11 15:39:59
Message-ID: E1vqCJp-000Cw4-34@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Cleanup for log_min_messages changes in 38e0190ced71

* Remove an unused variable
* Use "default log level" consistently (instead of "generic")
* Keep the process types in alphabetical order (missed one place in the
SGML docs)
* Since log_min_messages type was changed from enum to string, it
is a good idea to add single quotes when printing it out. Otherwise
it fails if the user copies and pastes from the SHOW output to SET,
except in the simplest case. Using single quotes reduces confusion.
* Use lowercase string for the burned-in default value, to keep the same
output as previous versions.

Author: Euler Taveira <euler(at)eulerto(dot)com>
Author: Man Zeng <zengman(at)halodbtech(dot)com>
Author: Noriyoshi Shinoda <noriyoshi(dot)shinoda(at)hpe(dot)com>
Reviewed-by: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Discussion: https://postgr.es/m/202602091250.genyflm2d5dw@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1efdd7cc630a963e56f34d44877d2097b98166d6

Modified Files
--------------
doc/src/sgml/config.sgml | 2 +-
src/backend/utils/error/elog.c | 14 +++++++-------
src/backend/utils/misc/guc_parameters.dat | 2 +-
src/backend/utils/misc/postgresql.conf.sample | 2 +-
src/include/postmaster/proctypelist.h | 2 +-
src/include/utils/guc.h | 2 --
6 files changed, 11 insertions(+), 13 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2026-02-11 16:03:31 pgsql: Further stabilize a postgres_fdw test case.
Previous Message Heikki Linnakangas 2026-02-11 15:01:58 pgsql: Move ProcStructLock to the ProcGlobal struct