forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb860848
committed
Add redo LSN to pgstats files
This is used in the startup process to check that the pgstats file weare reading includes the redo LSN referring to the shutdown checkpointwhere it has been written. The redo LSN in the pgstats file needs tomatch with what the control file has.This is intended to be used for an upcoming change that will extend thewrite of the stats file to happen during checkpoints, rather than onlyshutdown sequences.Bump PGSTAT_FILE_FORMAT_ID.Reviewed-by: Bertrand DrouvotDiscussion:https://postgr.es/m/Zp8o6_cl0KSgsnvS@paquier.xyz1 parentc27090b commitb860848
3 files changed
+36
-12
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5652 | 5652 |
| |
5653 | 5653 |
| |
5654 | 5654 |
| |
5655 |
| - | |
| 5655 | + | |
5656 | 5656 |
| |
5657 | 5657 |
| |
5658 | 5658 |
| |
|
Lines changed: 32 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
| 97 | + | |
97 | 98 |
| |
98 | 99 |
| |
99 | 100 |
| |
| |||
171 | 172 |
| |
172 | 173 |
| |
173 | 174 |
| |
174 |
| - | |
175 |
| - | |
| 175 | + | |
| 176 | + | |
176 | 177 |
| |
177 | 178 |
| |
178 | 179 |
| |
| |||
448 | 449 |
| |
449 | 450 |
| |
450 | 451 |
| |
451 |
| - | |
| 452 | + | |
452 | 453 |
| |
453 |
| - | |
| 454 | + | |
454 | 455 |
| |
455 | 456 |
| |
456 | 457 |
| |
| |||
526 | 527 |
| |
527 | 528 |
| |
528 | 529 |
| |
529 |
| - | |
| 530 | + | |
530 | 531 |
| |
531 | 532 |
| |
532 | 533 |
| |
| |||
1349 | 1350 |
| |
1350 | 1351 |
| |
1351 | 1352 |
| |
1352 |
| - | |
| 1353 | + | |
1353 | 1354 |
| |
1354 | 1355 |
| |
1355 | 1356 |
| |
| |||
1366 | 1367 |
| |
1367 | 1368 |
| |
1368 | 1369 |
| |
1369 |
| - | |
| 1370 | + | |
| 1371 | + | |
1370 | 1372 |
| |
1371 | 1373 |
| |
1372 | 1374 |
| |
| |||
1387 | 1389 |
| |
1388 | 1390 |
| |
1389 | 1391 |
| |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
1390 | 1395 |
| |
1391 | 1396 |
| |
1392 | 1397 |
| |
| |||
1501 | 1506 |
| |
1502 | 1507 |
| |
1503 | 1508 |
| |
1504 |
| - | |
| 1509 | + | |
1505 | 1510 |
| |
1506 | 1511 |
| |
1507 | 1512 |
| |
1508 | 1513 |
| |
1509 | 1514 |
| |
1510 | 1515 |
| |
| 1516 | + | |
1511 | 1517 |
| |
1512 | 1518 |
| |
1513 | 1519 |
| |
1514 | 1520 |
| |
1515 |
| - | |
| 1521 | + | |
| 1522 | + | |
1516 | 1523 |
| |
1517 | 1524 |
| |
1518 | 1525 |
| |
| |||
1550 | 1557 |
| |
1551 | 1558 |
| |
1552 | 1559 |
| |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
1553 | 1576 |
| |
1554 | 1577 |
| |
1555 | 1578 |
| |
|
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| 14 | + | |
14 | 15 |
| |
15 | 16 |
| |
16 | 17 |
| |
| |||
235 | 236 |
| |
236 | 237 |
| |
237 | 238 |
| |
238 |
| - | |
| 239 | + | |
239 | 240 |
| |
240 | 241 |
| |
241 | 242 |
| |
| |||
466 | 467 |
| |
467 | 468 |
| |
468 | 469 |
| |
469 |
| - | |
| 470 | + | |
470 | 471 |
| |
471 | 472 |
| |
472 | 473 |
| |
|
0 commit comments
Comments
(0)