pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Print WAL position correctly in pg_rewind error message.
6+ messages / 1 participants
[nested] [flat]

* pgsql: Print WAL position correctly in pg_rewind error message.
@ 2019-07-30 18:15  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2019-07-30 18:15 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL_11_STABLE

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

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Print WAL position correctly in pg_rewind error message.
@ 2019-07-30 18:15  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2019-07-30 18:15 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/08e0c08678fa0286c8edaf478c395a6393682fe8

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Print WAL position correctly in pg_rewind error message.
@ 2019-07-30 18:15  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2019-07-30 18:15 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/35fc44b58c10ab9cb581ff0b5b51b7653fd7523f

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Print WAL position correctly in pg_rewind error message.
@ 2019-07-30 18:15  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2019-07-30 18:15 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Print WAL position correctly in pg_rewind error message.
@ 2019-07-30 18:15  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2019-07-30 18:15 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

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

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Print WAL position correctly in pg_rewind error message.
@ 2019-07-30 18:15  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2019-07-30 18:15 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/718e313244a9376d823b5efe421eb079474a6b20

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2019-07-30 18:15 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-07-30 18:15 pgsql: Print WAL position correctly in pg_rewind error message. Heikki Linnakangas <heikki.linnakangas@iki.fi>
2019-07-30 18:15 pgsql: Print WAL position correctly in pg_rewind error message. Heikki Linnakangas <heikki.linnakangas@iki.fi>
2019-07-30 18:15 pgsql: Print WAL position correctly in pg_rewind error message. Heikki Linnakangas <heikki.linnakangas@iki.fi>
2019-07-30 18:15 pgsql: Print WAL position correctly in pg_rewind error message. Heikki Linnakangas <heikki.linnakangas@iki.fi>
2019-07-30 18:15 pgsql: Print WAL position correctly in pg_rewind error message. Heikki Linnakangas <heikki.linnakangas@iki.fi>
2019-07-30 18:15 pgsql: Print WAL position correctly in pg_rewind error message. Heikki Linnakangas <heikki.linnakangas@iki.fi>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox