aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
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:34 +0300
commit718e313244a9376d823b5efe421eb079474a6b20 (patch)
tree31d9a86b8edaf2a1b6f5b3dd1d248441ba7b734c /src/backend/tcop/postgres.c
parente1947f6c3ed8bda397295f555fa9e3fe39d50143 (diff)
downloadpostgresql-718e313244a9376d823b5efe421eb079474a6b20.tar.gz
postgresql-718e313244a9376d823b5efe421eb079474a6b20.zip
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/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions