Re: Remove redundant strlen call in ReplicationSlotValidateName - Mailing list pgsql-hackers

From Japin Li
Subject Re: Remove redundant strlen call in ReplicationSlotValidateName
Date
Msg-id MEYP282MB16696F6DBA8AE36A648817B2B6119@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
Whole thread Raw
Responses Re: Remove redundant strlen call in ReplicationSlotValidateName  (David Rowley <dgrowleyml@gmail.com>)
List pgsql-hackers
On Fri, 16 Jul 2021 at 16:26, Japin Li <japinli@hotmail.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.



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: data corruption hazard in reorderbuffer.c
Next
From: Japin Li
Date:
Subject: Re: Why ALTER SUBSCRIPTION ... SET (slot_name='none') requires subscription disabled?