pgsql: Print WAL position correctly in pg_rewind error message.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Print WAL position correctly in pg_rewind error message.
Дата
Msg-id E1hsWfD-00053P-ND@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ee3f036861228f3d85cd9cbb8d158f7209770ccd

Modified Files
--------------
src/bin/pg_rewind/parsexlog.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: pgsql: Don't build extended statistics on inheritance trees
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Allow table AM's to use rd_amcache, too.