forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5ecd018
committed
Fix comments about bgworker registration before MaxBackends initialization
Since6bc8ef0, InitializeMaxBackends() has used max_worker_processesinstead of adapting MaxBackends to the number of background workersregistered by modules loaded in shared_preload_libraries (at this time,bgworkers were only static, but gained dynamic capabilities as a matterof supporting parallel queries meaning that a control cap wasnecessary).Some comments referred to the past registration logic, making themconfusing and incorrect, so fix these.Some of the out-of-core modules that could be loaded in this pathsometimes like to manipulate dynamically some of the resource-relatedGUCs for their own needs, this commit adds a note about that.Author: Nathan BossartDiscussion:https://postgr.es/m/20220127181815.GA551692@nathanxps131 parentbf42fca commit5ecd018
2 files changed
+6
-9
lines changedLines changed: 4 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1014 | 1014 |
| |
1015 | 1015 |
| |
1016 | 1016 |
| |
1017 |
| - | |
1018 |
| - | |
1019 |
| - | |
1020 |
| - | |
| 1017 | + | |
| 1018 | + | |
1021 | 1019 |
| |
1022 | 1020 |
| |
1023 | 1021 |
| |
| |||
1038 | 1036 |
| |
1039 | 1037 |
| |
1040 | 1038 |
| |
1041 |
| - | |
1042 |
| - | |
| 1039 | + | |
| 1040 | + | |
1043 | 1041 |
| |
1044 | 1042 |
| |
1045 | 1043 |
| |
|
Lines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
483 | 483 |
| |
484 | 484 |
| |
485 | 485 |
| |
486 |
| - | |
487 |
| - | |
488 |
| - | |
| 486 | + | |
| 487 | + | |
489 | 488 |
| |
490 | 489 |
| |
491 | 490 |
| |
|
0 commit comments
Comments
(0)