Re: Subscription statistics are not dropped at DROP SUBSCRIPTION in some cases
Melih Mutlu <m.melihmutlu@gmail.com>
From: Melih Mutlu <m.melihmutlu@gmail.com>
To: Masahiko Sawada <sawada.mshk@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-05-10T11:58:26Z
Lists: pgsql-hackers
Hi, Masahiko Sawada <sawada.mshk@gmail.com>, 8 May 2023 Pzt, 10:24 tarihinde şunu yazdı: > I've attached the patch. Feedback is very welcome. > Thanks for the patch, nice catch. I can confirm that the issue exists on HEAD and gets resolved by this patch. Also it looks like stats are really not affected if transaction fails for some reason, as you explained. IMO, the patch will be OK after commit message is added. Thanks, -- Melih Mutlu Microsoft
Commits
-
Stabilize subscription stats test.
- 28ed5ecbe071 17.0 landed
- 1b95c8d85fa6 16.0 landed
- 461a7fad7c67 15.5 landed
-
pgstat: fix subscription stats entry leak.
- be8cae7e2f03 16.0 landed
- 66f8a1397319 15.4 landed
- 68a59f9e9983 17.0 landed
-
Create subscription stats entry at CREATE SUBSCRIPTION time
- e0b014295906 16.0 cited
-
pgstat: drop subscription stats without slot as well, fix comment
- 7b64e4b3fa04 16.0 cited