Commit c0e4520
committed
Add option to pg_ctl to choose event source for logging
pg_ctl will log to the Windows event log when it is running as a service,
which is the primary way of running PostgreSQL on Windows. This option
makes it possible to specify which event source to use for this, in order
to separate different instances. The server logging itself is still controlled
by the regular logging parameters, including a separate setting for the event
source. The parameter to pg_ctl only controlls the logging from pg_ctl itself.
MauMau, review in many iterations by Amit Kapila and me.1 parent aa68872 commit c0e4520
File tree
6 files changed
+39
-5
lines changed- doc/src/sgml/ref
- src
- backend/utils
- error
- misc
- bin
- pg_ctl
- pgevent
- include
6 files changed
+39
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
422 | 438 | | |
423 | 439 | | |
424 | 440 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1989 | 1989 | | |
1990 | 1990 | | |
1991 | 1991 | | |
1992 | | - | |
| 1992 | + | |
| 1993 | + | |
1993 | 1994 | | |
1994 | 1995 | | |
1995 | 1996 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3019 | 3019 | | |
3020 | 3020 | | |
3021 | 3021 | | |
3022 | | - | |
| 3022 | + | |
3023 | 3023 | | |
3024 | 3024 | | |
3025 | 3025 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
181 | | - | |
| 182 | + | |
| 183 | + | |
182 | 184 | | |
183 | 185 | | |
184 | 186 | | |
| |||
1406 | 1408 | | |
1407 | 1409 | | |
1408 | 1410 | | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
1409 | 1414 | | |
1410 | 1415 | | |
1411 | 1416 | | |
| |||
1878 | 1883 | | |
1879 | 1884 | | |
1880 | 1885 | | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
| 1889 | + | |
1881 | 1890 | | |
1882 | 1891 | | |
1883 | 1892 | | |
| |||
2140 | 2149 | | |
2141 | 2150 | | |
2142 | 2151 | | |
2143 | | - | |
| 2152 | + | |
2144 | 2153 | | |
2145 | 2154 | | |
2146 | 2155 | | |
| |||
2168 | 2177 | | |
2169 | 2178 | | |
2170 | 2179 | | |
| 2180 | + | |
| 2181 | + | |
| 2182 | + | |
2171 | 2183 | | |
2172 | 2184 | | |
2173 | 2185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
157 | 162 | | |
158 | 163 | | |
159 | 164 | | |
| |||
0 commit comments