- Notifications
You must be signed in to change notification settings - Fork28
Commit5d5f1a7
committed
Clean up a number of autovacuum loose ends. Make the stats collector
track shared relations in a separate hashtable, so that operations donefrom different databases are counted correctly. Add proper support foranti-XID-wraparound vacuuming, even in databases that are never connectedto and so have no stats entries. Miscellaneous other bug fixes.Alvaro Herrera, some additional fixes by Tom Lane.1 parent507b758 commit5d5f1a7
File tree
13 files changed
+423
-270
lines changed- src
- backend
- access/transam
- commands
- libpq
- postmaster
- utils
- init
- misc
- include
- access
- libpq
13 files changed
+423
-270
lines changedLines changed: 31 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
4913 | 4913 |
| |
4914 | 4914 |
| |
4915 | 4915 |
| |
| 4916 | + | |
| 4917 | + | |
| 4918 | + | |
| 4919 | + | |
| 4920 | + | |
| 4921 | + | |
| 4922 | + | |
| 4923 | + | |
| 4924 | + | |
| 4925 | + | |
| 4926 | + | |
| 4927 | + | |
| 4928 | + | |
| 4929 | + | |
| 4930 | + | |
| 4931 | + | |
| 4932 | + | |
| 4933 | + | |
| 4934 | + | |
| 4935 | + | |
| 4936 | + | |
| 4937 | + | |
| 4938 | + | |
| 4939 | + | |
| 4940 | + | |
| 4941 | + | |
| 4942 | + | |
| 4943 | + | |
| 4944 | + | |
| 4945 | + | |
4916 | 4946 |
| |
4917 | 4947 |
| |
4918 | 4948 |
| |
|
Lines changed: 7 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
317 | 317 |
| |
318 | 318 |
| |
319 | 319 |
| |
320 |
| - | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
321 | 323 |
| |
322 | 324 |
| |
323 | 325 |
| |
| |||
436 | 438 |
| |
437 | 439 |
| |
438 | 440 |
| |
439 |
| - | |
440 |
| - | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
441 | 444 |
| |
442 | 445 |
| |
443 | 446 |
| |
|
Lines changed: 9 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| 44 | + | |
44 | 45 |
| |
45 | 46 |
| |
46 | 47 |
| |
| |||
490 | 491 |
| |
491 | 492 |
| |
492 | 493 |
| |
493 |
| - | |
| 494 | + | |
494 | 495 |
| |
495 | 496 |
| |
496 | 497 |
| |
| |||
712 | 713 |
| |
713 | 714 |
| |
714 | 715 |
| |
715 |
| - | |
| 716 | + | |
716 | 717 |
| |
717 | 718 |
| |
718 | 719 |
| |
| |||
721 | 722 |
| |
722 | 723 |
| |
723 | 724 |
| |
724 |
| - | |
725 |
| - | |
726 | 725 |
| |
727 | 726 |
| |
728 | 727 |
| |
| |||
768 | 767 |
| |
769 | 768 |
| |
770 | 769 |
| |
| 770 | + | |
| 771 | + | |
| 772 | + | |
771 | 773 |
| |
772 | 774 |
| |
773 | 775 |
| |
| |||
1165 | 1167 |
| |
1166 | 1168 |
| |
1167 | 1169 |
| |
1168 |
| - | |
1169 |
| - | |
| 1170 | + | |
| 1171 | + | |
1170 | 1172 |
| |
1171 | 1173 |
| |
1172 | 1174 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 |
| - | |
| 34 | + | |
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
| |||
182 | 182 |
| |
183 | 183 |
| |
184 | 184 |
| |
185 |
| - | |
186 |
| - | |
| 185 | + | |
| 186 | + | |
187 | 187 |
| |
188 | 188 |
| |
189 | 189 |
| |
|
Lines changed: 6 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
| 42 | + | |
42 | 43 |
| |
43 | 44 |
| |
44 | 45 |
| |
| |||
999 | 1000 |
| |
1000 | 1001 |
| |
1001 | 1002 |
| |
| 1003 | + | |
1002 | 1004 |
| |
1003 | 1005 |
| |
1004 | 1006 |
| |
1005 | 1007 |
| |
1006 | 1008 |
| |
1007 |
| - | |
1008 |
| - | |
| 1009 | + | |
| 1010 | + | |
1009 | 1011 |
| |
1010 | 1012 |
| |
1011 | 1013 |
| |
| |||
1024 | 1026 |
| |
1025 | 1027 |
| |
1026 | 1028 |
| |
1027 |
| - | |
1028 | 1029 |
| |
1029 | 1030 |
| |
1030 | 1031 |
| |
| 1032 | + | |
1031 | 1033 |
| |
1032 | 1034 |
| |
1033 | 1035 |
| |
|
0 commit comments
Comments
(0)