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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Suspicious strcmp() in src/backend/parser/parse_expr.c
Дата
Msg-id 12975.1554958549@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Suspicious strcmp() in src/backend/parser/parse_expr.c  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Suspicious strcmp() in src/backend/parser/parse_expr.c  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-bugs
Michael Paquier <michael@paquier.xyz> writes:
> On Wed, Apr 10, 2019 at 06:43:32PM -0400, Tom Lane wrote:
>> Indeed.  Considering how much I hate using strcmp's result as a boolean,
>> you'd think I'd have got that right.  Thanks for noticing!

> Would it be worth changing these as well?

I'd be +1 for that, just on the grounds of having consistent coding
style.  But I'm not sufficiently excited about it to do the work
myself ...

            regards, tom lane



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

Предыдущее
От: Jueve L
Дата:
Сообщение: Re: BUG #15709: if drop exists syntax
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: BUG #15709: if drop exists syntax