duplicate function declaration in multirangetypes_selfuncs.c

From: Anton Voloshin <a(dot)voloshin(at)postgrespro(dot)ru>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
Subject: duplicate function declaration in multirangetypes_selfuncs.c
Date: 2023-04-21 10:32:01
Message-ID: 0e69cb60-0176-f6d0-7e15-6478b7d85724@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello, hackers,

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);

Affected branches: REL_14_STABLE and above.

Both lines come from the same commit:
> commit 6df7a9698bb036610c1e8c6d375e1be38cb26d5f
> Author: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
> Date: Sun Dec 20 07:20:33 2020
>
> Multirange datatypes

No harm from this duplication, still, I suggest to clean it up for
tidiness' sake.

--
Anton Voloshin
Postgres Professional, The Russian Postgres Company
https://postgrespro.ru

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2023-04-21 10:34:11 Re: duplicate function declaration in multirangetypes_selfuncs.c
Previous Message Michael Paquier 2023-04-21 10:16:03 Re: buffer refcount leak in foreign batch insert code