Re: Remove a redundant condition check

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
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-27 05:22:49
Message-ID: CAA4eK1LGWcizcDipMqv7yBZ+XN7+SsW5XhDSPT=UJE2bPkMd4w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jun 26, 2020 at 3:32 PM Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>
> 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.
>

Thanks for the confirmation, pushed!

--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2020-06-27 09:07:34 Re: update substring pattern matching syntax
Previous Message Masahiko Sawada 2020-06-27 05:14:28 Re: xid wraparound danger due to INDEX_CLEANUP false