forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7b64e4b
committed
pgstat: drop subscription stats without slot as well, fix comment
There's no reason anymore to only drop subscription stats if associated with aslot, now that stats drops are transactional. And since there's now no othercleanup of stats, this would lead to stats for slot-less subscriptions to getleaked (however most slot-less subs won't have stats).Additionally, the comment referring to autovacuum cleaning up stats wasclearly outdated.Author: Masahiko Sawada <sawada.mshk@gmail.com>Discussion:https://postgr.es/m/CAD21AoAwiby3HeJE7vJe16Gr75RFfJ640dyHqvsiUhyKJTXPtw@mail.gmail.comBackpatch: 15-1 parentb0a55e4 commit7b64e4b
1 file changed
+2
-8
lines changedLines changed: 2 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1578 | 1578 |
| |
1579 | 1579 |
| |
1580 | 1580 |
| |
1581 |
| - | |
1582 |
| - | |
1583 |
| - | |
1584 |
| - | |
1585 |
| - | |
1586 |
| - | |
| 1581 | + | |
1587 | 1582 |
| |
1588 |
| - | |
1589 |
| - | |
| 1583 | + | |
1590 | 1584 |
| |
1591 | 1585 |
| |
1592 | 1586 |
| |
|
0 commit comments
Comments
(0)