pgstat: drop subscription stats regardless of slot, fix comment
Andres Freund <andres@anarazel.de>
pgstat: drop subscription stats regardless of slot, fix comment There's no reason anymore to only drop subscription stats if associated with a slot, now that stats drops are transactional. Additionally, the comment referring to autovacuum cleaning up stats was clearly outdated. Author: Masahiko Sawada <sawada.mshk@gmail.com> Discussion: https://postgr.es/m/CAD21AoAwiby3HeJE7vJe16Gr75RFfJ640dyHqvsiUhyKJTXPtw@mail.gmail.com Backpatch: 15-
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/subscriptioncmds.c | modified | +2 −8 |
Discussion
- Issue with pg_stat_subscription_stats 32 messages · 2022-03-11 → 2022-10-07