forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitcd12323
committed
Fix single-record reads to use restore_command if available in pg_rewind
readOneRecord() is used now when looking for a checkpoint record tocheck if the target server is an ancestor of the source across multipletimelines, and using a restore_command if available improves thestability of the operation. This part was missed ina7e8ece.Reported-by: Kyotaro HoriguchiDiscussion:https://postgr.es/m/20200421.150830.1410714948345179794.horikyota.ntt@gmail.com1 parentc33869c commitcd12323
3 files changed
+6
-3
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
106 | 106 |
| |
107 | 107 |
| |
108 | 108 |
| |
109 |
| - | |
| 109 | + | |
| 110 | + | |
110 | 111 |
| |
111 | 112 |
| |
112 | 113 |
| |
| |||
115 | 116 |
| |
116 | 117 |
| |
117 | 118 |
| |
| 119 | + | |
118 | 120 |
| |
119 | 121 |
| |
120 | 122 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
339 | 339 |
| |
340 | 340 |
| |
341 | 341 |
| |
342 |
| - | |
| 342 | + | |
| 343 | + | |
343 | 344 |
| |
344 | 345 |
| |
345 | 346 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 |
| - | |
| 53 | + | |
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
|
0 commit comments
Comments
(0)