Re: Add contrib module pg_stat_log: cumulative statistics about server log messages - Mailing list pgsql-hackers

From Kirk Wolak
Subject Re: Add contrib module pg_stat_log: cumulative statistics about server log messages
Date
Msg-id CACLU5mSd81h+0Hg3+bOfuO=9AbxagOewwE7ixLkBEkrj972qZw@mail.gmail.com
Whole thread
List pgsql-hackers
On Tue, Aug 18, 2026 at 7:23 AM Fabrizio Mello <fabrizio@planetscale.com> wrote:
Hi hackers,

I'd like to propose a new contrib module, pg_stat_log, to track
cumulative statistics about server log messages. Patch attached.
+1
I like this idea. 
I believe Nikolay Samokhvalov is going to run/check the performance impact.

The name...  maybe it would be more clear as: pg_stat_log_elevel  (clarifies the abstract "log" a bit better).
Even pg_stat_server_log might be better.  Just my opinion, "log" feels too lonely/generic.

Kirk

pgsql-hackers by date:

Previous
From: Antonin Houska
Date:
Subject: Re: REPACK (CONCURRENTLY) can crash a logical decoding session
Next
From: Heikki Linnakangas
Date:
Subject: Re: auto-vectorize varbit bitwise operators