Reduce DEBUG level of catcache refreshing messages

From: "Jelte Fennema-Nio" <postgres(at)jeltef(dot)nl>
To: <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Reduce DEBUG level of catcache refreshing messages
Date: 2025-05-30 12:33:27
Message-ID: DA9HY4JMCDX4.24LHWFLQ59L5Z@jeltef.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

When testing extensions using pgregress, it can be useful to introduce
some new DEBUG logs which are specific to the extension and change the
log level during part of the of the test.

There's a problem though: Often a "rehashing catalog cache ..." debug
message will also show up in those cases. It's not always possible to
predict when these messages show, and when they do their contents can
easily change if changes are made to an unrelated test or when run
against a different Postgres version. This change lowers the log level
of these messages to DEBUG5, so that they can be ignored while still
showing other (more predictable) DEBUG messages.

Attachment Content-Type Size
v1-0001-Reduce-DEBUG-level-of-catcache-refreshing-message.patch text/x-patch 1.9 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jelte Fennema-Nio 2025-05-30 12:43:14 Re: Proposals for EXPLAIN: rename ANALYZE to EXECUTE and extend VERBOSE
Previous Message David Rowley 2025-05-30 12:02:41 Re: Optimize shared LWLock acquisition for high-core-count systems