Re: pgindent vs dtrace on macos

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgindent vs dtrace on macos
Дата
Msg-id 1023612.1600716072@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgindent vs dtrace on macos  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: pgindent vs dtrace on macos
Список pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> On 2020-Sep-21, Tom Lane wrote:
>> Here's a proposed patch to fix it that way.

> pgtypes_numeric.h still contains
> typedef struct
> {
> } numeric;

> ... isn't this more likely to create a typedef entry than merely a
> function name?

Well, yeah, it *is* a typedef.  My proposal is to rename the C function
to avoid the conflict, rather than renaming the typedef.  Given the
small number of direct calls (none), that's a lot less work.  Also,
I think pgtypes_numeric.h is exposed to ecpg client code, so changing
that typedef's name could be quite problematic.

            regards, tom lane



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgindent vs dtrace on macos
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgindent vs dtrace on macos