forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita6380f8
committed
Print WAL position correctly in pg_rewind error message.
This has been wrong ever since pg_rewind was added. The if-branch justabove this, where we print the same error with an extra message suppliedby XLogReadRecord() got this right, but the variable name was wrong in theelse-branch. As a consequence, the error printed the WAL position as0/0 if there was an error reading a WAL file.Backpatch to 9.5, where pg_rewind was added.1 parent4dbf70b commita6380f8
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
90 | 90 |
| |
91 | 91 |
| |
92 | 92 |
| |
93 |
| - | |
94 |
| - | |
| 93 | + | |
95 | 94 |
| |
96 | 95 |
| |
97 | 96 |
| |
|
0 commit comments
Comments
(0)