Re: use-regular-expressions-to-simplify-less_greater-and-not_equals.patch - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: use-regular-expressions-to-simplify-less_greater-and-not_equals.patch
Date
Msg-id dd2c10c5-8f5b-8997-aaad-0da60703e61c@dunslane.net
Whole thread Raw
In response to use-regular-expressions-to-simplify-less_greater-and-not_equals.patch  ("孙诗浩(思才)" <sunshihao.ssh@alibaba-inc.com>)
Responses Re: use-regular-expressions-to-simplify-less_greater-and-not_equals.patch
List 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 by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Small documentation improvement for ALTER SUBSCRIPTION
Next
From: Amit Kapila
Date:
Subject: Re: Next Steps with Hash Indexes