Re: Remove a redundant condition check
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Ádám Balogh <adam.balogh@ericsson.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2020-06-26T10:02:39Z
Lists: pgsql-hackers
On Fri, Jun 26, 2020 at 02:39:22PM +0530, Amit Kapila wrote: > It seems we forgot to remove the additional check for switchedTLI > while adding a new check. I think we can remove this duplicate check > in the HEAD code. I am not sure if it is worth to backpatch such a > change. Yes, there is no point to keep this check so let's clean up this code. I also see no need to do a backpatch here, this is purely cosmetic. -- Michael
Commits
-
Remove duplicate check added by commit b2a5545bd6.
- e7b476c657eb 14.0 landed
-
Don't archive bogus recycled or preallocated files after timeline switch.
- b2a5545bd63f 9.5.0 cited