pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: pg_waldump: Fix --bkp-details to not issue spurious newlines for
6+ messages / 1 participants
[nested] [flat]

* pgsql: pg_waldump: Fix --bkp-details to not issue spurious newlines for
@ 2019-10-30 05:58 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2019-10-30 05:58 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

pg_waldump: Fix --bkp-details to not issue spurious newlines for FPWs.

The additional newline seems to have accidentally been introduced in
2c03216d831, in 9.5. The newline is only issued when an FPW is
present for the block reference.

While there could be an argument that removing the newlines in the
back branches could cause a problem for somebody parsing the
pg_waldump output, the likelihood of that seems small enough. It seems
at least equally likely that the randomness of when newlines are
issued causes problems.

Author: Andres Freund
Discussion: https://postgr.es/m/20191029233341.4gnyau7e5v2lh5sc@alap3.anarazel.de
Backpatch: 9.5, like 2c03216d831.

Branch
------
master

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

Modified Files
--------------
src/bin/pg_waldump/pg_waldump.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



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

* pgsql: pg_waldump: Fix --bkp-details to not issue spurious newlines for
@ 2019-10-30 05:58 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2019-10-30 05:58 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

pg_waldump: Fix --bkp-details to not issue spurious newlines for FPWs.

The additional newline seems to have accidentally been introduced in
2c03216d831, in 9.5. The newline is only issued when an FPW is
present for the block reference.

While there could be an argument that removing the newlines in the
back branches could cause a problem for somebody parsing the
pg_waldump output, the likelihood of that seems small enough. It seems
at least equally likely that the randomness of when newlines are
issued causes problems.

Author: Andres Freund
Discussion: https://postgr.es/m/20191029233341.4gnyau7e5v2lh5sc@alap3.anarazel.de
Backpatch: 9.5, like 2c03216d831.

Branch
------
REL_12_STABLE

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

Modified Files
--------------
src/bin/pg_waldump/pg_waldump.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



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

* pgsql: pg_waldump: Fix --bkp-details to not issue spurious newlines for
@ 2019-10-30 05:58 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2019-10-30 05:58 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

pg_waldump: Fix --bkp-details to not issue spurious newlines for FPWs.

The additional newline seems to have accidentally been introduced in
2c03216d831, in 9.5. The newline is only issued when an FPW is
present for the block reference.

While there could be an argument that removing the newlines in the
back branches could cause a problem for somebody parsing the
pg_waldump output, the likelihood of that seems small enough. It seems
at least equally likely that the randomness of when newlines are
issued causes problems.

Author: Andres Freund
Discussion: https://postgr.es/m/20191029233341.4gnyau7e5v2lh5sc@alap3.anarazel.de
Backpatch: 9.5, like 2c03216d831.

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3b24cf732e1746f84271f3a4f84288d146203cc3

Modified Files
--------------
src/bin/pg_waldump/pg_waldump.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



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

* pgsql: pg_waldump: Fix --bkp-details to not issue spurious newlines for
@ 2019-10-30 05:59 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2019-10-30 05:59 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

pg_waldump: Fix --bkp-details to not issue spurious newlines for FPWs.

The additional newline seems to have accidentally been introduced in
2c03216d831, in 9.5. The newline is only issued when an FPW is
present for the block reference.

While there could be an argument that removing the newlines in the
back branches could cause a problem for somebody parsing the
pg_waldump output, the likelihood of that seems small enough. It seems
at least equally likely that the randomness of when newlines are
issued causes problems.

Author: Andres Freund
Discussion: https://postgr.es/m/20191029233341.4gnyau7e5v2lh5sc@alap3.anarazel.de
Backpatch: 9.5, like 2c03216d831.

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/82200115e05501c633595c2a7b61143f0e610a00

Modified Files
--------------
src/bin/pg_waldump/pg_waldump.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



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

* pgsql: pg_waldump: Fix --bkp-details to not issue spurious newlines for
@ 2019-10-30 05:59 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2019-10-30 05:59 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

pg_waldump: Fix --bkp-details to not issue spurious newlines for FPWs.

The additional newline seems to have accidentally been introduced in
2c03216d831, in 9.5. The newline is only issued when an FPW is
present for the block reference.

While there could be an argument that removing the newlines in the
back branches could cause a problem for somebody parsing the
pg_waldump output, the likelihood of that seems small enough. It seems
at least equally likely that the randomness of when newlines are
issued causes problems.

Author: Andres Freund
Discussion: https://postgr.es/m/20191029233341.4gnyau7e5v2lh5sc@alap3.anarazel.de
Backpatch: 9.5, like 2c03216d831.

Branch
------
REL9_6_STABLE

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

Modified Files
--------------
src/bin/pg_xlogdump/pg_xlogdump.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



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

* pgsql: pg_waldump: Fix --bkp-details to not issue spurious newlines for
@ 2019-10-30 05:59 Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2019-10-30 05:59 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

pg_waldump: Fix --bkp-details to not issue spurious newlines for FPWs.

The additional newline seems to have accidentally been introduced in
2c03216d831, in 9.5. The newline is only issued when an FPW is
present for the block reference.

While there could be an argument that removing the newlines in the
back branches could cause a problem for somebody parsing the
pg_waldump output, the likelihood of that seems small enough. It seems
at least equally likely that the randomness of when newlines are
issued causes problems.

Author: Andres Freund
Discussion: https://postgr.es/m/20191029233341.4gnyau7e5v2lh5sc@alap3.anarazel.de
Backpatch: 9.5, like 2c03216d831.

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/39ff656a415118cdd8231ee524aeed67796062a4

Modified Files
--------------
src/bin/pg_xlogdump/pg_xlogdump.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



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


end of thread, other threads:[~2019-10-30 05:59 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-10-30 05:58 pgsql: pg_waldump: Fix --bkp-details to not issue spurious newlines for Andres Freund <andres@anarazel.de>
2019-10-30 05:58 pgsql: pg_waldump: Fix --bkp-details to not issue spurious newlines for Andres Freund <andres@anarazel.de>
2019-10-30 05:58 pgsql: pg_waldump: Fix --bkp-details to not issue spurious newlines for Andres Freund <andres@anarazel.de>
2019-10-30 05:59 pgsql: pg_waldump: Fix --bkp-details to not issue spurious newlines for Andres Freund <andres@anarazel.de>
2019-10-30 05:59 pgsql: pg_waldump: Fix --bkp-details to not issue spurious newlines for Andres Freund <andres@anarazel.de>
2019-10-30 05:59 pgsql: pg_waldump: Fix --bkp-details to not issue spurious newlines for Andres Freund <andres@anarazel.de>

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