forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd9384a4
committed
Remove postmaster.c's check that NBuffers is at least twice MaxBackends.
With the addition of multiple autovacuum workers, our choices were to deletethe check, document the interaction with autovacuum_max_workers, or complicatethe check to try to hide that interaction. Since this restriction has neverbeen adequate to ensure backends can't run out of pinnable buffers, it doesn'treally have enough excuse to live to justify the second or third choices.Per discussion of a complaint from Andreas Kling (see also bug #3888).This commit also removes several documentation references to this restriction,but I'm not sure I got them all.1 parentf4230d2 commitd9384a4
File tree
4 files changed
+9
-27
lines changed- doc/src/sgml
- src/backend
- postmaster
- utils/misc
4 files changed
+9
-27
lines changedLines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
736 | 736 |
| |
737 | 737 |
| |
738 | 738 |
| |
739 |
| - | |
740 |
| - | |
| 739 | + | |
741 | 740 |
| |
742 | 741 |
| |
743 | 742 |
| |
|
Lines changed: 1 addition & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 |
| - | |
| 40 | + | |
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| |||
688 | 688 |
| |
689 | 689 |
| |
690 | 690 |
| |
691 |
| - | |
692 |
| - | |
693 |
| - | |
694 |
| - | |
695 |
| - | |
696 |
| - | |
697 |
| - | |
698 |
| - | |
699 |
| - | |
700 |
| - | |
701 | 691 |
| |
702 | 692 |
| |
703 | 693 |
| |
|
Lines changed: 4 additions & 10 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 |
| |
| |||
1195 | 1195 |
| |
1196 | 1196 |
| |
1197 | 1197 |
| |
1198 |
| - | |
1199 |
| - | |
1200 |
| - | |
1201 |
| - | |
1202 |
| - | |
1203 |
| - | |
1204 |
| - | |
1205 |
| - | |
| 1198 | + | |
| 1199 | + | |
1206 | 1200 |
| |
1207 |
| - | |
| 1201 | + | |
1208 | 1202 |
| |
1209 | 1203 |
| |
1210 | 1204 |
| |
|
Lines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
63 |
| - | |
64 |
| - | |
| 63 | + | |
65 | 64 |
| |
66 | 65 |
| |
67 | 66 |
| |
| |||
104 | 103 |
| |
105 | 104 |
| |
106 | 105 |
| |
107 |
| - | |
| 106 | + | |
108 | 107 |
| |
109 | 108 |
| |
110 | 109 |
| |
|
0 commit comments
Comments
(0)