Re: Add contrib module pg_stat_log: cumulative statistics about server log messages

From: Kirk Wolak <wolakk(at)gmail(dot)com>
To: Fabrizio Mello <fabrizio(at)planetscale(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, "mail(at)joeconway(dot)com" <mail(at)joeconway(dot)com>, "nik(at)postgres(dot)ai" <nik(at)postgres(dot)ai>
Subject: Re: Add contrib module pg_stat_log: cumulative statistics about server log messages
Date: 2026-09-02 18:24:13
Message-ID: CACLU5mSd81h+0Hg3+bOfuO=9AbxagOewwE7ixLkBEkrj972qZw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Aug 18, 2026 at 7:23 AM Fabrizio Mello <fabrizio(at)planetscale(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-09-02 18:42:36 Re: Disallow outer-level and WHERE-clause aggregates in GRAPH_TABLE
Previous Message Antonin Houska 2026-09-02 18:19:21 Re: REPACK (CONCURRENTLY) can crash a logical decoding session