Re: duplicate function declaration in multirangetypes_selfuncs.c - Mailing list pgsql-hackers

From Pavel Borisov
Subject Re: duplicate function declaration in multirangetypes_selfuncs.c
Date
Msg-id CALT9ZEH_A7KLLmzxFdQCgLSbVeAWOAnsPHzAwW-0hxO5qQ2TsA@mail.gmail.com
Whole thread Raw
In response to Re: duplicate function declaration in multirangetypes_selfuncs.c  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: duplicate function declaration in multirangetypes_selfuncs.c
List pgsql-hackers
Hi!

On Fri, 21 Apr 2023 at 14:34, Daniel Gustafsson <daniel@yesql.se> wrote:
>
> > On 21 Apr 2023, at 12:32, Anton Voloshin <a.voloshin@postgrespro.ru> wrote:
>
> > we have a duplicate line, declaration of default_multirange_selectivity() in
> > src/backend/utils/adt/multirangetypes_selfuncs.c:
> >
> > static double default_multirange_selectivity(Oid operator);
> > static double default_multirange_selectivity(Oid operator);
>
> Nice catch.
>
> > No harm from this duplication, still, I suggest to clean it up for tidiness' sake.
>
> +1
>
The patch is attached. Anyone to commit?

Pavel Borisov
Supabase

Attachment

pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: duplicate function declaration in multirangetypes_selfuncs.c
Next
From: Daniel Gustafsson
Date:
Subject: Re: Reorder connection markers in libpq TAP tests