Re: Typo in pg_db_role_setting.h

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: Typo in pg_db_role_setting.h
Дата
Msg-id 7E9E61EF-F028-4976-81AE-CA0E3697452B@yesql.se
обсуждение исходный текст
Ответ на Re: Typo in pg_db_role_setting.h  (Richard Guo <guofenglinux@gmail.com>)
Ответы Re: Typo in pg_db_role_setting.h  (Japin Li <japinli@hotmail.com>)
Список pgsql-hackers
> On 2 Aug 2022, at 09:37, Richard Guo <guofenglinux@gmail.com> wrote:

> The examples listed upthread all contain such comment in foo.h saying
> 'prototypes for functions in foo.c'.  For instance, in buffile.h, there is
> comment saying

> /*
>  * prototypes for functions in buffile.c
>  */
>
> So if we remove such comments, should we also do so for those cases?

Comments which state the obvious are seldom helpful, I would prefer to remove
such comments and only explicitly call out the .c file in a comment when it's a
different basename from the header.

--
Daniel Gustafsson        https://vmware.com/




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

Предыдущее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Strange behavior with polygon and NaN
Следующее
От: Japin Li
Дата:
Сообщение: Re: Typo in pg_db_role_setting.h