forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit18d938d
committed
Make pg_controldata report newest XID with valid commit timestamp
Previously pg_controldata didn't report newestCommitTs and this wasan oversight in commit73c986a.Also this patch changes pg_resetxlog so that it uses the same sentencesas pg_controldata does, regarding oldestCommitTs and newestCommitTs,for the sake of consistency.Back-patch to 9.5 where track_commit_timestamp was added.Euler Taveira1 parent020235a commit18d938d
File tree
2 files changed
+4
-2
lines changed- src/bin
- pg_controldata
- pg_resetxlog
2 files changed
+4
-2
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
273 | 273 |
| |
274 | 274 |
| |
275 | 275 |
| |
| 276 | + | |
| 277 | + | |
276 | 278 |
| |
277 | 279 |
| |
278 | 280 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
665 | 665 |
| |
666 | 666 |
| |
667 | 667 |
| |
668 |
| - | |
| 668 | + | |
669 | 669 |
| |
670 |
| - | |
| 670 | + | |
671 | 671 |
| |
672 | 672 |
| |
673 | 673 |
| |
|
0 commit comments
Comments
(0)