Re: Remove a redundant condition check

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: Ádám Balogh <adam(dot)balogh(at)ericsson(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Remove a redundant condition check
Date: 2020-06-26 10:02:39
Message-ID: 20200626100239.GG1504@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amul Sul 2020-06-26 10:39:47 Re: [Patch] ALTER SYSTEM READ ONLY
Previous Message Michael Paquier 2020-06-26 09:59:21 Re: [Patch] ALTER SYSTEM READ ONLY