- Notifications
You must be signed in to change notification settings - Fork5
Commitc62866e
committed
Remove special-case treatment of LOG severity level in standalone mode.
elog.c has historically treated LOG messages as low-priority duringbootstrap and standalone operation. This has led to confusion and evenmasked a bug, because the normal expectation of code authors is thatelog(LOG) will put something into the postmaster log, and that wasn'thappening during initdb. So get rid of the special-case rule and makethe priority order the same as it is in normal operation. To keep fromcluttering initdb's output and the behavior of a standalone backend,tweak the severity level of three messages routinely issued by xlog.cduring startup and shutdown so that they won't appear in these cases.Per my proposal back in December.1 parentf042163 commitc62866e
2 files changed
+9
-8
lines changedLines changed: 8 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4883 | 4883 |
| |
4884 | 4884 |
| |
4885 | 4885 |
| |
4886 |
| - | |
| 4886 | + | |
| 4887 | + | |
| 4888 | + | |
4887 | 4889 |
| |
4888 | 4890 |
| |
| 4891 | + | |
4889 | 4892 |
| |
4890 | 4893 |
| |
4891 | 4894 |
| |
| |||
6590 | 6593 |
| |
6591 | 6594 |
| |
6592 | 6595 |
| |
6593 |
| - | |
| 6596 | + | |
| 6597 | + | |
6594 | 6598 |
| |
6595 | 6599 |
| |
6596 | 6600 |
| |
| |||
6612 | 6616 |
| |
6613 | 6617 |
| |
6614 | 6618 |
| |
6615 |
| - | |
| 6619 | + | |
| 6620 | + | |
6616 | 6621 |
| |
6617 | 6622 |
| |
6618 | 6623 |
| |
|
Lines changed: 1 addition & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
285 | 285 |
| |
286 | 286 |
| |
287 | 287 |
| |
288 |
| - | |
289 |
| - | |
290 |
| - | |
291 |
| - | |
292 |
| - | |
| 288 | + | |
293 | 289 |
| |
294 | 290 |
| |
295 | 291 |
| |
|
0 commit comments
Comments
(0)