Re: Fix obsoleted comments for function prototypes

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Fix obsoleted comments for function prototypes
Дата
Msg-id Yuj7rfJlvTAnoHzW@paquier.xyz
обсуждение исходный текст
Ответ на Fix obsoleted comments for function prototypes  (Richard Guo <guofenglinux@gmail.com>)
Ответы Re: Fix obsoleted comments for function prototypes  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Tue, Aug 02, 2022 at 05:06:44PM +0800, Richard Guo wrote:
> While doing the search in [1], I spotted several places where the
> comments for the function prototypes are obsoleted. For instance,
> btree_desc() and btree_identify() are now located in nbtdesc.c but the
> comment in nbtxlog.h is still claiming they are in nbtxlog.c.
>
> Fix these places with the attached. With high possibility there are
> other places with this kind of obsoleted comments, but I don't know how
> to find them all :-(.

These declarations are linked to comments with their file paths, so
making that automated looks rather complicated to me.  I have looked
at the surroundings without noticing anything obvious, so what you
have caught here sounds fine to me, good catches :)
--
Michael

Вложения

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

Предыдущее
От: John Naylor
Дата:
Сообщение: support for SSE2 intrinsics
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [PATCH] Fix pg_upgrade test from v10