Re: pgindent vs dtrace on macos

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgindent vs dtrace on macos
Дата
Msg-id 1177223.1600784320@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgindent vs dtrace on macos  (Daniel Gustafsson <daniel@yesql.se>)
Ответы Re: pgindent vs dtrace on macos
Список pgsql-hackers
Daniel Gustafsson <daniel@yesql.se> writes:
>> On 21 Sep 2020, at 20:55, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Here's a proposed patch to fix it that way.

> +1 on this patch.  Do you think it's worth adding a note about this in the
> documentation to save the next one staring at this a few minutes?  Something
> along the lines of:

> +If an exported function shares a name with a typedef, the header file with the
> +prototype can get incorrect spacing for the function.

AFAIK, a function name that's the same as a typedef name will get
misformatted whether it's exported or not; pgindent doesn't really
know the difference.  But yeah, we could add something about this.

            regards, tom lane



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

Предыдущее
От: Konstantin Knizhnik
Дата:
Сообщение: Re: Asynchronous Append on postgres_fdw nodes.
Следующее
От: Michael Banck
Дата:
Сообщение: Re: [patch] Fix checksum verification in base backups for zero page headers