Re: duplicate function declaration in multirangetypes_selfuncs.c

Поиск
Список
Период
Сортировка
От Anton Voloshin
Тема Re: duplicate function declaration in multirangetypes_selfuncs.c
Дата
Msg-id bdf6f319-7767-ec6d-d194-97f1ceed2658@postgrespro.ru
обсуждение исходный текст
Ответ на Re: duplicate function declaration in multirangetypes_selfuncs.c  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-hackers
On 21/04/2023 14:14, Daniel Gustafsson wrote:
> I'll take care of these in a bit (unless someone finds more, or objects)
> backpatching them to their respective origins branches

Thanks!

I went through master with
find . -name "*.[ch]" -exec bash -c 'echo {}; uniq -d {}' \;|sed -E 
'/^[[:space:]*]*$/d;'

and could not find any other obvious unintentional duplicates, except 
the two mentioned already. There seems to be some strange duplicates in 
snowball, but that's external and generated code and I could not figure 
out quickly whether those are intentional or not. Hopefully, they are 
harmless or intentional.

All other duplicated lines I've analyzed seem to be intentional.

Granted, I've mostly ignored lines without ';', also I could have missed 
something, but currently I'm not aware of any other unintentionally 
duplicated lines.

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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Non-superuser subscription owners
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Minor code de-duplication in fe-connect.c