Re: use-regular-expressions-to-simplify-less_greater-and-not_equals.patch

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: use-regular-expressions-to-simplify-less_greater-and-not_equals.patch
Дата
Msg-id dd2c10c5-8f5b-8997-aaad-0da60703e61c@dunslane.net
обсуждение исходный текст
Ответ на use-regular-expressions-to-simplify-less_greater-and-not_equals.patch  ("孙诗浩(思才)" <sunshihao.ssh@alibaba-inc.com>)
Ответы Re: use-regular-expressions-to-simplify-less_greater-and-not_equals.patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 8/10/21 11:27 PM, 孙诗浩(思才) wrote:
>      we can use regular expressions (<>|!=) to cover "<>" and "!=".
> There is no
> need to have two definitions less_greater and not_equals, because it
> will confuse developer.
> So, we can use only not_equals to cover this operator set.
>
>


I don't understand the problem being solved here. This looks like a
change with no discernable benefit. I don't agree that the current code
is substantially more likely to confuse developers. And the lexer is not
something that gets a lot of change.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com




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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Small documentation improvement for ALTER SUBSCRIPTION
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Next Steps with Hash Indexes