forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4f1f385
Add timeline ID to file names generated with pg_waldump --save-fullpage
Not including the timeline IDs to the file names generated by pg_waldumpfor the individual blocks saved could cause some of these files to beoverwritten when scanning segments across multiple timelines. Havingthis information is also as much useful as the LSNs, to be able to knowfrom exactly which WAL segment a block is comes from.While on it, this fixes a few comments in the tests, where the format ofthe file was not described as matching with the reality.Reported-by: Fujii MasaoReviewed-by: Kyotaro Horiguchi, David ChristensenDiscussion:https://postgr.es/m/ZJp921+nITFnvBVS@paquier.xyz1 parent60bbef0 commit4f1f385
File tree
3 files changed
+15
-6
lines changed- doc/src/sgml/ref
- src/bin/pg_waldump
- t
3 files changed
+15
-6
lines changedLines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
283 | 283 |
| |
284 | 284 |
| |
285 | 285 |
| |
286 |
| - | |
| 286 | + | |
287 | 287 |
| |
288 | 288 |
| |
289 | 289 |
| |
| |||
296 | 296 |
| |
297 | 297 |
| |
298 | 298 |
| |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
299 | 306 |
| |
300 | 307 |
| |
301 | 308 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
518 | 518 |
| |
519 | 519 |
| |
520 | 520 |
| |
521 |
| - | |
| 521 | + | |
| 522 | + | |
522 | 523 |
| |
523 | 524 |
| |
524 | 525 |
| |
|
Lines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
79 | 79 |
| |
80 | 80 |
| |
81 | 81 |
| |
82 |
| - | |
83 |
| - | |
84 |
| - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
85 | 86 |
| |
86 | 87 |
| |
87 | 88 |
| |
88 | 89 |
| |
89 | 90 |
| |
90 |
| - | |
| 91 | + | |
91 | 92 |
| |
92 | 93 |
| |
93 | 94 |
| |
|
0 commit comments
Comments
(0)