Commit 701d918
committed
Fix misleading comments about background worker registration.
Since 6bc8ef0, the maximum number
of backends can't change as background workers are registered, but
these comments still reflect the way things worked prior to that.
Also, per recent discussion, some modules call SetConfigOption()
from _PG_init(). It's not entirely clear to me whether we want to
regard that as a fully supported operation, but since we know it's
a thing that happens, it at least deserves a mention in the comments,
so add that.
Nathan Bossart, reviewed by Anton A. Melnikov
Discussion: http://postgr.es/m/20220419154658.GA2487941@nathanxps131 parent ee97d46 commit 701d918
2 files changed
+6
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1005 | 1005 | | |
1006 | 1006 | | |
1007 | 1007 | | |
1008 | | - | |
1009 | | - | |
1010 | | - | |
1011 | | - | |
| 1008 | + | |
| 1009 | + | |
1012 | 1010 | | |
1013 | 1011 | | |
1014 | 1012 | | |
| |||
1029 | 1027 | | |
1030 | 1028 | | |
1031 | 1029 | | |
1032 | | - | |
1033 | | - | |
| 1030 | + | |
| 1031 | + | |
1034 | 1032 | | |
1035 | 1033 | | |
1036 | 1034 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
541 | | - | |
542 | | - | |
543 | | - | |
| 541 | + | |
| 542 | + | |
544 | 543 | | |
545 | 544 | | |
546 | 545 | | |
| |||
0 commit comments