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 <[email protected]>
Discussion: 
https://postgr.es/m/cad21aoawiby3heje7vje16gr75rffj640dyhqvsiuhykjtx...@mail.gmail.com
Backpatch: 15-

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/596172260a6ddc78be85d929c309da3c941fe683

Modified Files
--------------
src/backend/commands/subscriptioncmds.c | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)

Reply via email to