Re: Suspicious strcmp() in src/backend/parser/parse_expr.c

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Suspicious strcmp() in src/backend/parser/parse_expr.c
Дата
Msg-id 9612.1554991926@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Suspicious strcmp() in src/backend/parser/parse_expr.c  (David Rowley <david.rowley@2ndquadrant.com>)
Ответы Re: Suspicious strcmp() in src/backend/parser/parse_expr.c  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-bugs
David Rowley <david.rowley@2ndquadrant.com> writes:
> formatting.c in NUM_prepare_locale()

> else if (strcmp(Np->decimal, ",") !=0)

I'll bet a nickel that that's pgindent's fault.  It probably thinks
that "decimal" is a typedef (greps typedefs.list ... yes), and that
tends to result in funny space-omissions later in the line.

            regards, tom lane



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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Suspicious strcmp() in src/backend/parser/parse_expr.c
Следующее
От: Christopher Browne
Дата:
Сообщение: Re: List of issues with 4.5 that need to be fixed