Commit 6862ca6
committed
Fix processing of PGC_BACKEND GUC parameters on Windows.
EXEC_BACKEND builds (i.e., Windows) failed to absorb values of PGC_BACKEND
parameters if they'd been changed post-startup via the config file. This
for example prevented log_connections from working if it were turned on
post-startup. The mechanism for handling this case has always been a bit
of a kluge, and it wasn't revisited when we implemented EXEC_BACKEND.
While in a normal forking environment new backends will inherit the
postmaster's value of such settings, EXEC_BACKEND backends have to read
the settings from the CONFIG_EXEC_PARAMS file, and they were mistakenly
rejecting them. So this case has always been broken in the Windows port;
so back-patch to all supported branches.
Amit Kapila1 parent 44c5d38 commit 6862ca6
1 file changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5669 | 5669 | | |
5670 | 5670 | | |
5671 | 5671 | | |
| 5672 | + | |
| 5673 | + | |
| 5674 | + | |
| 5675 | + | |
| 5676 | + | |
| 5677 | + | |
| 5678 | + | |
| 5679 | + | |
| 5680 | + | |
5672 | 5681 | | |
| 5682 | + | |
| 5683 | + | |
| 5684 | + | |
| 5685 | + | |
5673 | 5686 | | |
5674 | 5687 | | |
| 5688 | + | |
5675 | 5689 | | |
5676 | 5690 | | |
5677 | 5691 | | |
| |||
8310 | 8324 | | |
8311 | 8325 | | |
8312 | 8326 | | |
| 8327 | + | |
| 8328 | + | |
| 8329 | + | |
| 8330 | + | |
| 8331 | + | |
| 8332 | + | |
8313 | 8333 | | |
8314 | 8334 | | |
8315 | 8335 | | |
| |||
0 commit comments