Re: Not to to confusing

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Not to to confusing
Дата
Msg-id 7193.1113283711@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Not to to confusing  ("Greg Sabino Mullane" <greg@turnstep.com>)
Список pgsql-patches
"Greg Sabino Mullane" <greg@turnstep.com> writes:
>         else if (pg_strcasecmp(prev4_wd, "TABLE") == 0 &&
> !                        pg_strcasecmp(prev2_wd, "RENAME") == 0 &&
> !                                        pg_strcasecmp(prev_wd, "TO"))
>                 COMPLETE_WITH_CONST("TO");

In order to be somewhat consistent and not too confusing, could we
spell that as 'pg_strcasecmp(prev_wd, "TO") != 0' please?

(See previous rant about the undesirability of pretending that
integers are booleans...)

            regards, tom lane

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

Предыдущее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Not to to confusing
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Remove unneeded left joins from psql