forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9336d63
committed
Flush any remaining statistics counts out to the collector at process
exit. Without this, operations triggered during backend exit (such astemp table deletions) won't be counted ... which given heavy usage oftemp tables can lead to pg_autovacuum falling way behind on the needto vacuum pg_class and pg_attribute. Per reports from Steve Crawfordand others.1 parent47888fe commit9336d63
1 file changed
+21
-1
lines changedLines changed: 21 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
160 | 160 |
| |
161 | 161 |
| |
162 | 162 |
| |
| 163 | + | |
163 | 164 |
| |
164 | 165 |
| |
165 | 166 |
| |
| |||
670 | 671 |
| |
671 | 672 |
| |
672 | 673 |
| |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
673 | 693 |
| |
674 | 694 |
| |
675 | 695 |
| |
|
0 commit comments
Comments
(0)