pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add missing exit() in pg_verifybackup when failing to find pg_wa
3+ messages / 1 participants
[nested] [flat]

* pgsql: Add missing exit() in pg_verifybackup when failing to find pg_wa
@ 2021-07-29 02:00  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2021-07-29 02:00 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Add missing exit() in pg_verifybackup when failing to find pg_waldump

pg_verifybackup needs by default pg_waldump to check after a range of
WAL segments required for a backup, except if --no-parse-wal is
specified.  The code checked for the presence of the binary pg_waldump
in an installation and reported an error, but it forgot to properly
exit().  This could lead to confusing errors reported.

Reviewed-by: Robert Haas, Fabien Coelho
Discussion: https://postgr.es/m/YQDMdB+B68yePFeT@paquier.xyz
Backpatch-through: 13

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/67445deb7eca32d25721dffb228b009bfbe415d5

Modified Files
--------------
src/bin/pg_verifybackup/pg_verifybackup.c | 1 +
1 file changed, 1 insertion(+)



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

* pgsql: Add missing exit() in pg_verifybackup when failing to find pg_wa
@ 2021-07-29 02:00  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2021-07-29 02:00 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Add missing exit() in pg_verifybackup when failing to find pg_waldump

pg_verifybackup needs by default pg_waldump to check after a range of
WAL segments required for a backup, except if --no-parse-wal is
specified.  The code checked for the presence of the binary pg_waldump
in an installation and reported an error, but it forgot to properly
exit().  This could lead to confusing errors reported.

Reviewed-by: Robert Haas, Fabien Coelho
Discussion: https://postgr.es/m/YQDMdB+B68yePFeT@paquier.xyz
Backpatch-through: 13

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2ad98fdf53edf1a90123e3b189cc6f0a31986891

Modified Files
--------------
src/bin/pg_verifybackup/pg_verifybackup.c | 1 +
1 file changed, 1 insertion(+)



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

* pgsql: Add missing exit() in pg_verifybackup when failing to find pg_wa
@ 2021-07-29 02:00  Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2021-07-29 02:00 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Add missing exit() in pg_verifybackup when failing to find pg_waldump

pg_verifybackup needs by default pg_waldump to check after a range of
WAL segments required for a backup, except if --no-parse-wal is
specified.  The code checked for the presence of the binary pg_waldump
in an installation and reported an error, but it forgot to properly
exit().  This could lead to confusing errors reported.

Reviewed-by: Robert Haas, Fabien Coelho
Discussion: https://postgr.es/m/YQDMdB+B68yePFeT@paquier.xyz
Backpatch-through: 13

Branch
------
REL_13_STABLE

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

Modified Files
--------------
src/bin/pg_verifybackup/pg_verifybackup.c | 1 +
1 file changed, 1 insertion(+)



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


end of thread, other threads:[~2021-07-29 02:00 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-07-29 02:00 pgsql: Add missing exit() in pg_verifybackup when failing to find pg_wa Michael Paquier <michael@paquier.xyz>
2021-07-29 02:00 pgsql: Add missing exit() in pg_verifybackup when failing to find pg_wa Michael Paquier <michael@paquier.xyz>
2021-07-29 02:00 pgsql: Add missing exit() in pg_verifybackup when failing to find pg_wa Michael Paquier <michael@paquier.xyz>

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