diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2019-07-30 21:14:14 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2019-07-30 21:14:49 +0300 |
commit | 08e0c08678fa0286c8edaf478c395a6393682fe8 (patch) | |
tree | 4f8f8bbcc9cefcbd64602c905589439c8fc8dbc7 /src/backend/parser/parse_func.c | |
parent | c3b613e1b0e5a83e36ffb14089bad1d4a5880208 (diff) |
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.
Diffstat (limited to 'src/backend/parser/parse_func.c')
0 files changed, 0 insertions, 0 deletions