Re: duplicate function declaration in multirangetypes_selfuncs.c

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Anton Voloshin <a.voloshin@postgrespro.ru>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>, Alexander Korotkov <aekorotkov@gmail.com>
Date: 2023-04-21T10:34:11Z
Lists: pgsql-hackers
> 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

--
Daniel Gustafsson




Commits

  1. Remove duplicate lines of code