summaryrefslogtreecommitdiff
path: root/src/template
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2019-07-30 21:14:14 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2019-07-30 21:14:45 +0300
commit35fc44b58c10ab9cb581ff0b5b51b7653fd7523f (patch)
treef7a947a8be927c687bd638f3b4811c5df9361fe5 /src/template
parent859b3003de87645b62ee07ef245d6c1f1cd0cedb (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/template')
0 files changed, 0 insertions, 0 deletions