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

From: 孙诗浩(思才) <sunshihao(dot)ssh(at)alibaba-inc(dot)com>
To: "PostgreSQL Hackers" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: 范孝剑(康贤) <funnyxj(dot)fxj(at)alibaba-inc(dot)com>
Subject: use-regular-expressions-to-simplify-less_greater-and-not_equals.patch
Date: 2021-08-11 03:27:23
Message-ID: 03572d05-697c-4dd5-95e3-bbc3fd8b05c1.sunshihao.ssh@alibaba-inc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Please review my patch.

Thanks.

Attachment Content-Type Size
use-regular-expressions-to-simplify-less_greater-and-not_equals.patch application/octet-stream 2.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2021-08-11 03:36:15 Re: use-regular-expressions-to-simplify-less_greater-and-not_equals.patch
Previous Message Wu Haotian 2021-08-11 03:15:00 Re: Add option --drop-cascade for pg_dump/restore