Re: Some code cleanup for pgbench and pg_verifybackup
Fabien COELHO <coelho@cri.ensmp.fr>
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Michael Paquier <michael@paquier.xyz>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>,
Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-07-28T06:49:12Z
Lists: pgsql-hackers
> [...] Thoughts? For pgbench it is definitely ok to add the exit. For others the added exits look reasonable, but I do not know them intimately enough to be sure that it is the right thing to do in all cases. > All that does not seem to enter into the category of things worth > back-patching, except for pg_verifybackup. Yes. -- Fabien.
Commits
-
Add some missing exit() calls in error paths for various binaries
- 856de3b39cf6 15.0 landed
-
Add missing exit() in pg_verifybackup when failing to find pg_waldump
- efe169c90090 13.4 landed
- 67445deb7eca 14.0 landed
- 2ad98fdf53ed 15.0 landed