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 по дате отправления: