forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite8ea9e9
committed
Implement archive_timeout feature to force xlog file switches to occur no more
than N seconds apart. This allows a simple, if not very high performance,means of guaranteeing that a PITR archive is no more than N seconds behindreal time. Also make pg_current_xlog_location return the WAL Write pointer,add pg_current_xlog_insert_location to return the Insert pointer, and fixpg_xlogfile_name_offset to return its results as a two-element record insteadof a smashed-together string, as per recent discussion.Simon Riggs1 parentbb764e9 commite8ea9e9
File tree
11 files changed
+278
-73
lines changed- doc/src/sgml
- src
- backend
- access/transam
- postmaster
- utils/misc
- include
- access
- catalog
11 files changed
+278
-73
lines changedLines changed: 25 additions & 32 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
492 | 492 |
| |
493 | 493 |
| |
494 | 494 |
| |
495 |
| - | |
| 495 | + | |
496 | 496 |
| |
497 | 497 |
| |
498 | 498 |
| |
| |||
576 | 576 |
| |
577 | 577 |
| |
578 | 578 |
| |
579 |
| - | |
580 |
| - | |
581 |
| - | |
582 |
| - | |
583 |
| - | |
584 |
| - | |
585 |
| - | |
586 |
| - | |
587 |
| - | |
588 |
| - | |
589 |
| - | |
590 |
| - | |
591 |
| - | |
592 |
| - | |
593 |
| - | |
594 |
| - | |
595 |
| - | |
596 |
| - | |
597 |
| - | |
598 |
| - | |
599 |
| - | |
600 |
| - | |
601 |
| - | |
602 |
| - | |
603 |
| - | |
604 |
| - | |
605 |
| - | |
606 |
| - | |
607 |
| - | |
608 |
| - | |
609 | 579 |
| |
610 | 580 |
| |
611 | 581 |
| |
| |||
626 | 596 |
| |
627 | 597 |
| |
628 | 598 |
| |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
629 | 622 |
| |
630 | 623 |
| |
631 | 624 |
| |
|
Lines changed: 30 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
1584 | 1584 |
| |
1585 | 1585 |
| |
1586 | 1586 |
| |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
1587 | 1616 |
| |
1588 | 1617 |
| |
1589 | 1618 |
| |
|
Lines changed: 28 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
10148 | 10148 |
| |
10149 | 10149 |
| |
10150 | 10150 |
| |
| 10151 | + | |
| 10152 | + | |
| 10153 | + | |
10151 | 10154 |
| |
10152 | 10155 |
| |
10153 | 10156 |
| |
| |||
10199 | 10202 |
| |
10200 | 10203 |
| |
10201 | 10204 |
| |
10202 |
| - | |
| 10205 | + | |
10203 | 10206 |
| |
10204 | 10207 |
| |
10205 | 10208 |
| |
10206 |
| - | |
| 10209 | + | |
10207 | 10210 |
| |
10208 | 10211 |
| |
| 10212 | + | |
| 10213 | + | |
| 10214 | + | |
| 10215 | + | |
| 10216 | + | |
| 10217 | + | |
| 10218 | + | |
10209 | 10219 |
| |
10210 | 10220 |
| |
10211 | 10221 |
| |
| |||
10258 | 10268 |
| |
10259 | 10269 |
| |
10260 | 10270 |
| |
10261 |
| - | |
10262 |
| - | |
10263 |
| - | |
| 10271 | + | |
| 10272 | + | |
| 10273 | + | |
| 10274 | + | |
| 10275 | + | |
| 10276 | + | |
| 10277 | + | |
| 10278 | + | |
| 10279 | + | |
| 10280 | + | |
| 10281 | + | |
10264 | 10282 |
| |
10265 | 10283 |
| |
10266 | 10284 |
| |
10267 | 10285 |
| |
10268 | 10286 |
| |
10269 | 10287 |
| |
10270 | 10288 |
| |
10271 |
| - | |
10272 |
| - | |
10273 |
| - | |
10274 |
| - | |
| 10289 | + | |
| 10290 | + | |
| 10291 | + | |
| 10292 | + | |
10275 | 10293 |
| |
10276 | 10294 |
| |
10277 | 10295 |
| |
|
0 commit comments
Comments
(0)