postgresql/src/bin/pg_rewind
Heikki Linnakangas d8b094dabb Print WAL position correctly in pg_rewind error message.
This has been wrong ever since pg_rewind was added. The if-branch just
above this, where we print the same error with an extra message supplied
by XLogReadRecord() got this right, but the variable name was wrong in the
else-branch. As a consequence, the error printed the WAL position as
0/0 if there was an error reading a WAL file.

Backpatch to 9.5, where pg_rewind was added.
2019-07-30 21:14:14 +03:00
..
po Translation updates 2019-06-17 15:30:20 +02:00
t Update stale comments, and fix comment typos. 2019-06-08 10:12:26 -07:00
.gitignore Improve logging of TAP tests. 2015-07-09 13:19:10 +03:00
Makefile Move logging.h and logging.c from src/fe_utils/ to src/common/. 2019-05-14 14:20:10 -04:00
copy_fetch.c Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
datapagemap.c Move logging.h and logging.c from src/fe_utils/ to src/common/. 2019-05-14 14:20:10 -04:00
datapagemap.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
fetch.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
fetch.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
file_ops.c Remove pg_rewind's private logging.h/logging.c files. 2019-05-14 13:11:23 -04:00
file_ops.h Update copyright for 2019 2019-01-02 12:44:25 -05:00
filemap.c Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
filemap.h Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
libpq_fetch.c Unwind some workarounds for lack of portable int64 format specifier 2019-07-04 17:01:43 +02:00
nls.mk Remove pg_rewind's private logging.h/logging.c files. 2019-05-14 13:11:23 -04:00
parsexlog.c Print WAL position correctly in pg_rewind error message. 2019-07-30 21:14:14 +03:00
pg_rewind.c Remove redundant newlines from error messages 2019-07-02 23:18:43 +01:00
pg_rewind.h Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
timeline.c Remove pg_rewind's private logging.h/logging.c files. 2019-05-14 13:11:23 -04:00