forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4fd8d6b
committed
Fix crash caused by log_timezone patch if we attempt to emit any elog messages
between the setting of log_line_prefix and the setting of log_timezone. Wecan't realistically set log_timezone any earlier than we do now, so the bestbehavior seems to be to use GMT zone if any timestamps are to be logged duringearly startup. Create a dummy zone variable with a minimal definition of GMT(in particular it will never know about leap seconds), so that we can set itup without reference to any external files.1 parent0b9d3d4 commit4fd8d6b
File tree
5 files changed
+67
-10
lines changed- src
- backend/utils
- error
- misc
- include
- timezone
5 files changed
+67
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
1497 | 1497 | | |
1498 | 1498 | | |
1499 | 1499 | | |
| 1500 | + | |
1500 | 1501 | | |
1501 | 1502 | | |
1502 | 1503 | | |
1503 | 1504 | | |
1504 | 1505 | | |
1505 | 1506 | | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
1506 | 1515 | | |
1507 | 1516 | | |
1508 | 1517 | | |
1509 | | - | |
| 1518 | + | |
1510 | 1519 | | |
1511 | 1520 | | |
1512 | 1521 | | |
| |||
1518 | 1527 | | |
1519 | 1528 | | |
1520 | 1529 | | |
| 1530 | + | |
1521 | 1531 | | |
1522 | 1532 | | |
| 1533 | + | |
| 1534 | + | |
1523 | 1535 | | |
1524 | 1536 | | |
1525 | | - | |
| 1537 | + | |
1526 | 1538 | | |
1527 | 1539 | | |
1528 | 1540 | | |
1529 | 1541 | | |
1530 | 1542 | | |
1531 | 1543 | | |
| 1544 | + | |
1532 | 1545 | | |
1533 | 1546 | | |
| 1547 | + | |
| 1548 | + | |
1534 | 1549 | | |
1535 | 1550 | | |
1536 | | - | |
| 1551 | + | |
1537 | 1552 | | |
1538 | 1553 | | |
1539 | 1554 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
2926 | 2926 | | |
2927 | 2927 | | |
2928 | 2928 | | |
| 2929 | + | |
| 2930 | + | |
| 2931 | + | |
| 2932 | + | |
| 2933 | + | |
| 2934 | + | |
2929 | 2935 | | |
2930 | 2936 | | |
2931 | 2937 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
| |||
549 | 548 | | |
550 | 549 | | |
551 | 550 | | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
552 | 557 | | |
553 | 558 | | |
554 | 559 | | |
| |||
561 | 566 | | |
562 | 567 | | |
563 | 568 | | |
| 569 | + | |
564 | 570 | | |
565 | | - | |
566 | 571 | | |
567 | 572 | | |
568 | 573 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
| |||
1251 | 1255 | | |
1252 | 1256 | | |
1253 | 1257 | | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
1254 | 1283 | | |
1255 | 1284 | | |
1256 | 1285 | | |
| |||
0 commit comments
Comments
(0)