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 1wFiUT-005T7H-2F for pgsql-hackers@arkaria.postgresql.org; Thu, 23 Apr 2026 01:04:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wFiUS-00FtFz-1y for pgsql-hackers@arkaria.postgresql.org; Thu, 23 Apr 2026 01:04:24 +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 1wFiUS-00FtFq-12 for pgsql-hackers@lists.postgresql.org; Thu, 23 Apr 2026 01:04:24 +0000 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wFiUP-00000002Yxx-43A6 for pgsql-hackers@postgresql.org; Thu, 23 Apr 2026 01:04:24 +0000 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-6634bb959a2so8477430a12.1 for ; Wed, 22 Apr 2026 18:04:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1776906261; cv=none; d=google.com; s=arc-20240605; b=lLS59Z+jMpr6Wc93Ww20v4xtD1b8ZDdHVM7UsKsGzHYy9l2iS3jJyKA0fccUQ0l+1n 3hoy/Yi4GPh8P0QVUeWNGAeE2sywzu0EqVo1D8BMGf7A74ZOQiT/zTbFrO/iji4MRe6Y OyPzPvuDyeRqoU0vdry10jWepvZfFZdkEmIuxc9NZMpOKNZrj8LXJBymqsXXuT1E/cKh Bbed23GWKvIxJ+d1TQ8ysWxKgSJyu5eOCVGP/m2yb+2T73KyFpZUkzj5QCmhVTRfT2uq Wl7y1TccLkDoJlPOQ3sVycEmZtrTgBm4moUillogYcaI8+z7ifC2uD3qdJ91xn8tDXNF fZoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=T809EAAQQ5/w7uxZCIqWkwh+S/eliT+sfEhG+Tj+EtY=; fh=4L5e20/7ZekY6yPhTpITXzox9qcHIrguynHFN7jmsbg=; b=GsOvKDPmO3Nz8eRMoNYCzVYCDn7PImPGtkudm0mr7QHFlB9469pmKL3EJ3WnuD8MuS PiCA2x9LQwKLHh+R+1WGMLJNL8T3uftOPUq65qosNYi7OQ/dwR2A4n8HZy/ZuiARLeKY q3b5Qm74ZwIrv4IMkx0bKmxGk6Sk50liNrAY5M2MfycIbkdzDWSdNNDx0pEK60COYbD3 wP80M3Z/UO1FEI1pex5mAPpzU3BzOTTJFMM7h1uEZ41qsZIaFzZI6vibYrhSDZTDa15t woiNPscKz3JDVsxZ4sPePR8GiqRiGtrFuU3/KR7zRFEIDnNC0S10ip58URwx1rUdmG0v NfEg==; 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=1776906261; x=1777511061; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=T809EAAQQ5/w7uxZCIqWkwh+S/eliT+sfEhG+Tj+EtY=; b=otAAkG5rb1sCEeMTI3tkmFbm4nJvM5ZcVxrrsJij5Qgmu4xk5Tf9E092LV/9Kah8g1 V0npD9VhZvUbLpAuNMn8gacYp55rJsNj+ZeN6551152SQp1v5gkugWkeCvEXloya89LV 4DW6R1Z2LNaeDwdcnFYdhc8dwPzKMWg3KtPgzcVHIyNRo5f6P1bW7srbtJemTF1pEzw2 felLindN/KhNFy8g6EfEy8w3yKckspEuF4Ad7G/VwInqgFqwccMYRNRyW1HGK5BtJUWn bOwHqWOyW07VcgbkbcOQUIrl99yV9qUZJQU0Jh+sl3zzSpz5HvoTgHG2Ijn9qSLhhRW2 pzYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776906261; x=1777511061; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=T809EAAQQ5/w7uxZCIqWkwh+S/eliT+sfEhG+Tj+EtY=; b=qY7QebvFcEQFbIbOaGk+mn+TZA4yLDe+u/nvtyc//Q23z/EZiaj0t/Zm7oP0Z1YXKN 433iFGfMAr7CBNBgnxIW0KwI38ve9wJH4DksH/a2ty6vSRY6dilZ0VhTPvFEHZyzE1rA eTCM1fzjBxwjhEudQbfmI0YRvYQkM6BEL4ts4zK6gZI1xO4x8mus1xkgQMqeZsAyrwsJ S4cafLvcw/bsNj79hzutSlFTyvTKcktdnLsWMkr2U3tfNId9tcIuTNp2QKcgojWiC95K 2HNs/EIFND1x9PMJKMiGuKeTh1ZBKTzrO6ZaYALZ6tYHkZYDU/s6xm9eiEZCx9MzvYeh pALg== X-Forwarded-Encrypted: i=1; AFNElJ+r5R1l4BtE4LzAPsJ2rd+55dzcCACmey6F7BU7IX2l3QQb6RlDf56ZihKLVGEQKtIwQX44T/9vT4I8kF1n@postgresql.org X-Gm-Message-State: AOJu0YxW1wyU7K0tVexIZIWRUNeubf5OtlzyZsRFDtxhu8bBXYF3HGLy hrb8Jt4ELul6gEJCtp4grvVZ9ecEeI/CJQ8zQTf851VmtpJE9hdS6KjrW80F3Y6alkuFWtttMzZ dqywOMu3v6MUCdpnOAZmVw7DQudcmWUE= X-Gm-Gg: AeBDievKVvPWQnWCz4AQh3IVy8+V45FXvOir2K10VMhf9OGirr1YPIXgLDyVR1ZTsXV xYCaKmD56/2tgvAMHImQql++cHU/qJQfmCC1iJTzNx7+dzQ7C9mpwPy1R089rp+IcmKD40/njHn lCiQTQ/CGZPHpo09+zu7lzKt5omutOiA/kAyIx37c4cGmFiQf790RWs/cxBAWjHD+xsMsWFyKX+ qwkU8khn1Sfzsmwq2fvh0XfID/ytIhqrLUhxoK16mSh5p7bBxAo9jiOy2WNEhjAzLSUFo0FAL4l 0tECjPuodhpwncdBvxu0MS4tFOF9dm2KHIfHtqCof0YKSvQ68vPJxwfbMkpJ3lBSD3P+0c7rlV6 sYZqjcvdWIfMjbQaqoA== X-Received: by 2002:a05:6402:46ce:b0:673:b696:8905 with SMTP id 4fb4d7f45d1cf-673b6968da5mr8616171a12.17.1776906260630; Wed, 22 Apr 2026 18:04:20 -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: From: Xuneng Zhou Date: Thu, 23 Apr 2026 09:04:07 +0800 X-Gm-Features: AQROBzBBfhMvp1KrWxuoNN7tvBWGyDbctMbKgWAcfDdVFIQE_fRONlmeB3rr7Fo Message-ID: Subject: Re: RFC: pg_stat_logmsg To: fabriziomello@gmail.com Cc: Joe Conway , Michael Paquier , Tomas Vondra , Gurjeet Singh , Masahiko Sawada , PostgreSQL-development Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi Fabr=C3=ADzio, On Wed, Apr 22, 2026 at 10:22=E2=80=AFPM Fabr=C3=ADzio de Royes Mello wrote: > > > 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 st= ill > > > 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,= if > > > it is in core, or even contrib, now is not the right time as it has z= ero > > > 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 I'll look into it. --=20 Best, Xuneng