Re: Remove a redundant condition check - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Remove a redundant condition check
Date
Msg-id 20200626100239.GG1504@paquier.xyz
Whole thread Raw
In response to Re: Remove a redundant condition check  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: Remove a redundant condition check
List 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

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [Patch] ALTER SYSTEM READ ONLY
Next
From: Amul Sul
Date:
Subject: Re: [Patch] ALTER SYSTEM READ ONLY