Re: Issue with pg_stat_subscription_stats

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Andres Freund <andres@anarazel.de>
Cc: Amit Kapila <amit.kapila16@gmail.com>, Masahiko Sawada <sawada.mshk@gmail.com>, Melanie Plageman <melanieplageman@gmail.com>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2022-10-07T01:08:36Z
Lists: pgsql-hackers
On Thu, Oct 06, 2022 at 04:43:43PM -0700, Andres Freund wrote:
> Thanks for bringing this thread up, I'd lost track of it.

The merit goes to Sawada-san here, who has poked me about this thread
:p
--
Michael

Commits

  1. Create subscription stats entry at CREATE SUBSCRIPTION time

  2. pgstat: drop subscription stats without slot as well, fix comment

  3. pgstat: drop subscription stats regardless of slot, fix comment