Re: Remove redundant strlen call in ReplicationSlotValidateName

From: Japin Li <japinli(at)hotmail(dot)com>
To: ranier(dot)vf(at)gmail(dot)com, amit(dot)kapila16(at)gmail(dot)com, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Remove redundant strlen call in ReplicationSlotValidateName
Date: 2021-07-16 08:35:25
Message-ID: MEYP282MB16696F6DBA8AE36A648817B2B6119@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On Fri, 16 Jul 2021 at 16:26, Japin Li <japinli(at)hotmail(dot)com> wrote:
> Hi, hackers
>
> When I fix a bug about ALTER SUBSCRIPTION ... SET (slot_name) [1], Ranier Vilela
> finds that ReplicationSlotValidateName() has redundant strlen() call, Since it's
> not related to that problem, so I start a new thread to discuss it.
>
> [1] - https://www.postgresql.org/message-id/MEYP282MB1669CBD98E721C77CA696499B61A9%40MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM

--
Regrads,
Japin Li.
ChengDu WenWu Information Technology Co.,Ltd.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Japin Li 2021-07-16 08:42:01 Re: Why ALTER SUBSCRIPTION ... SET (slot_name='none') requires subscription disabled?
Previous Message Tomas Vondra 2021-07-16 08:21:46 Re: data corruption hazard in reorderbuffer.c