From: | Daniel Gustafsson <dgustafsson(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix autovacuum cost debug logging |
Date: | 2023-04-20 13:47:32 |
Message-ID: | E1ppUdH-00404R-5R@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix autovacuum cost debug logging
Commit 7d71d3dd0 introduced finer grained updates of autovacuum option
changes by increasing the frequency of reading the configuration file.
The debug logging of cost parameter was however changed such that some
initial values weren't logged. Fix by changing logging to use the old
frequency of logging regardless of them changing.
Also avoid taking a log for rendering the log message unless the set
loglevel is such that the log entry will be emitted.
Author: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAD21AoBS7o6Ljt_vfqPQPf67AhzKu3fR0iqk8B=vVYczMugKMQ@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a9781ae11ba2fdb44a3a72c9a7ebb727140b25c5
Modified Files
--------------
src/backend/postmaster/autovacuum.c | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2023-04-20 15:06:52 | Re: pgsql: Further cleanup of autoconf output files for GSSAPI changes. |
Previous Message | Tom Lane | 2023-04-20 13:28:29 | Re: pgsql: Fix list_copy_head() with empty Lists |