Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wFYT3-005IS0-2w for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Apr 2026 14:22:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wFYT3-00DxVi-02 for pgsql-hackers@arkaria.postgresql.org; Wed, 22 Apr 2026 14:22:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wFYT2-00DxVa-2D for pgsql-hackers@lists.postgresql.org; Wed, 22 Apr 2026 14:22:16 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wFYSx-00000002U5N-25b6 for pgsql-hackers@postgresql.org; Wed, 22 Apr 2026 14:22:16 +0000 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-ba61a0a2d26so612544466b.2 for ; Wed, 22 Apr 2026 07:22:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1776867730; cv=none; d=google.com; s=arc-20240605; b=LOLY1RGEuVESUVPu4VVondDVBE9B0OJreKvQAgoyoNY/En2ufzihS1rgYHZrvHSd48 MSjVQi3llbkedEoxrETqcfgmITZDmk4YDpwydej5hcXwYh7aThGFes1HQmAso6vnGRdY gQ3gQiVdq3JXTLqz3nTtCNRppD3BF3oN4KR5QTG84Y4i6d3BnGejybVQA7qw5J304DBK hUCkQo72TgvSsrmZ/KtTZaQBxCH9d54l8K6uT1t3UHLF1pOSEN0gP4YR/h4laUsrruSl CA0Ya/2i2SQjiMCDtn3vDTBeiFT9Xq2Oit+WZCt8i+Q8Q218Xs1hfVzVa3h8LmCEz7LS yzEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:dkim-signature; bh=cwkzTXu7PecIlE2F1kpdQT08CspsoJhpgylC0hkV/Y0=; fh=Fk+ny3REsBqTT7Apf+VaRMPlNE6ozbPsPTHQtUj4gVQ=; b=krTFtqW8LxDIz2v9vb6Z5dweoIY5Qz059+I3qlkWGRt1GLvCzfNU49oqF+5M0ZOK/c LlnHtIZz/N2KDxH6wGWE5ZHprJhw5QF0R4HYcSEGSslCcVtXYCxEX4evcMctwaYI1kx8 Toiv7pJrqIA/9S8dzl+a9MONDULnAeHiZeX8BfvHCAFCaAQLLlZ9g/k+jpsYG8MJiy8F DjBMxU6Azr63pn11M91XLHoP3sCg0g3clciE9ouy2v/2FyzY1j2wHZNAQvTAwil7i8gj VkQG1gHqRN3nYYbZkDzwV3l+Z+vowfgCV6bPffVjCrRf2MFGSdAd1ri49gALUq247fmY F2pA==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1776867730; x=1777472530; darn=postgresql.org; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=cwkzTXu7PecIlE2F1kpdQT08CspsoJhpgylC0hkV/Y0=; b=T9RfDYknEQVH5svq6DTb1qwRWuS0qR1zv3k3ulABZBv3l5UFtW2B9Dj0ssGakR04lR h0aay6LTFsv4PCm3Ifurx2FkNV0dd0PVadKxLx45swCS+Sauw+ZscMVelQsJQNSfFE61 /zlXi+DphzGHC+uGYrfNVQn+PbyGrvo/GhwI9qoNIsihQBVUmfMZmBZIFdz3HsHiJIgF 23oTVTZUQWQaH5xfK0InjQuIyb3YcMds7MEwm8ea0lflk9Rh6VqnFex3T1m65IN4/Xky 3BhQOwMw+43MKY0/elTv1Rw5C+6qwDYsgt1khgJRu258REvFuLo6jdIQzF9sfD9KEGY7 Yb7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776867730; x=1777472530; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=cwkzTXu7PecIlE2F1kpdQT08CspsoJhpgylC0hkV/Y0=; b=q+1S3tbOd+wnvN363QzAXZt9Rl7LS66o1Q+ZcZyaGOp3RlPf/wJBsCAKA6Dr6O/A+M Qjlp/x9th1BvcgKsU5dp0o9eDIOTN/OZDrTCX3UpmXMGtIp23S9Hzcl2CcwOl43EJPyC veWP9+csPuUrFZIVaPq2jBVMPxk35Xj5ft6fD17B+fRjxwowEhLlYpI9g7gzoLiwX/ye lWWg8fXOl8lP4iPu/4zB8UnFqVY3z+R1mlMV2ws3spTeWNg1rQn0AWxDAgbKU2q3+jLi VmMLP+aiuxyj7GuyAkKqr40ebnJfRULr+RPxJUs1P1+dLjAurN4X7hrGjvD3Acl8jlgM 7ZLA== X-Forwarded-Encrypted: i=1; AFNElJ8kCbBK8th+45fQIwzo00nVLy9bjAu9AOtAbX+LKxrA3Q3XEUE64TCX1kHD+oPRYzjRzB5XNsBMHwBkBmRy@postgresql.org X-Gm-Message-State: AOJu0YymDvecZpj3vbfU7SObL2m41XthpnVtrGnuqhQFLuTyAbPiIDFN lznOLg3kQnaQhga3C8LwnvNDsbbCHfkqA2PXAICWZ5+40HIVTpcWikKFghcFNR6vlIUxN2WQW6G MtzeZxbjDkFPoSMsSBiKqUhroTdNY93M= X-Gm-Gg: AeBDiesHcNUg3RP5/gAgfpoSx7n7KpIZirWl2j/+zm4aCoHHltc3GaUgv1Jfsmu7XfK pSepE9uYO/97y8zWuxXUumFLQCe3dTUairq0097vPO9LUpXwf958O3lZI4DI+lrAMflCPGUVCwG YbSelK6HcWzRwOF8wPSG00eDgctStvoGbLrz9Jtnfu/2fMj7s92fxso0rdSHrMHo9mmlpgzL8dP oqxxgf7kwoVvGoYw9yv1C+WdKREtDjy7yLQDbfVFcVaxhHUk1w4gPotAIOe7BQhMgmLvdGNfpx+ jUc2WLYNbkTQHRADIFHgr5pik2g/Dg== X-Received: by 2002:a17:907:7b9a:b0:ba6:5855:1cc0 with SMTP id a640c23a62f3a-ba65855318bmr788102266b.2.1776867729662; Wed, 22 Apr 2026 07:22:09 -0700 (PDT) MIME-Version: 1.0 References: <89742024-d51a-c66b-90b9-67f837072cd2@joeconway.com> <3b1683bc-2630-a0d0-6083-8a45aa1b54bf@joeconway.com> <5dc12198-80ff-4e70-b187-11ef33418411@enterprisedb.com> <12f6d0f0-0b5d-46e3-afa9-c35bd418d49f@joeconway.com> <14ec974e-7e15-4bca-b93c-687502748865@joeconway.com> In-Reply-To: Reply-To: fabriziomello@gmail.com From: =?UTF-8?Q?Fabr=C3=ADzio_de_Royes_Mello?= Date: Wed, 22 Apr 2026 11:21:56 -0300 X-Gm-Features: AQROBzA-iKle9n1eazSWW4JzBnMdGOaetIhBZVxkciU7wnUajtWLcYOsjBf09rk Message-ID: Subject: Re: RFC: pg_stat_logmsg To: Xuneng Zhou Cc: Joe Conway , Michael Paquier , Tomas Vondra , Gurjeet Singh , Masahiko Sawada , PostgreSQL-development Content-Type: multipart/alternative; boundary="000000000000d6e61306500d41de" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000d6e61306500d41de Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Mar 28, 2026 at 12:15=E2=80=AFPM Xuneng Zhou = wrote: > > On Sat, Mar 28, 2026 at 10:14=E2=80=AFPM Joe Conway = wrote: > > > It has not progressed mainly due to lack of time on my part. It is stil= l > > on my TODO list, and I would like to find time to complete it. > > That would be great! > > > Personally I would love to see it builtin to core, but an extension > > would have the advantage of working with prior releases. In any case, i= f > > it is in core, or even contrib, now is not the right time as it has zer= o > > chance to get in before feature freeze. It would make more sense to > > discuss this after April. > > Yeah, integrating this into core would make it universally accessible, > while providing it as an extension would allow earlier versions to > benefit. Certainly, it should be considered for upcoming releases. > > > That said, if you wanted to create an extension on github or whatever > > you can of course determine your own timing. > > > > I'll try to create an extension on github. It would be fun to play > with and help to learn the new cumulative statistics infra. > Here's a WIP extension: https://github.com/fabriziomello/pg_stat_log Regards, --=20 Fabr=C3=ADzio de Royes Mello --000000000000d6e61306500d41de Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Sat, Mar 28, 2026 at 12:15=E2=80=AFPM Xuneng Zhou &= lt;xunengzhou@gmail.com> wro= te:
>
> On Sat, Mar 28, 2026 at 10:14=E2=80=AFPM Joe Conway <= ;mail@joeconway.com> wrote:>
> > It has not progressed mainly due to lack of time on my p= art. It is still
> > on my TODO list, and I would like to find tim= e to complete it.
>
> That would be great!
>
> >= Personally I would love to see it builtin to core, but an extension
>= ; > would have the advantage of working with prior releases. In any case= , if
> > it is in core, or even contrib, now is not the right time= as it has zero
> > chance to get in before feature freeze. It wou= ld make more sense to
> > discuss this after April.
>
>= ; Yeah, integrating this into core would make it universally accessible,> while providing it as an extension would allow earlier versions to> benefit.=C2=A0 Certainly, it should be considered for upcoming releas= es.
>
> > That said, if you wanted to create an extension on= github or whatever
> > you can of course determine your own timin= g.
> >
>
> I'll try to create an extension on gith= ub. It would be fun to play
> with and help to learn the new cumulati= ve statistics infra.
>

Here'= s a WIP extension:=C2=A0https://github.com/fabriziomello/pg_stat_log

=

Regards,

--
Fabr=C3=ADzio de Royes Mello
--000000000000d6e61306500d41de--