Re: add operator ^= to mean not equal (like != and <>)

From: Andreas Karlsson <andreas(at)proxel(dot)se>
To: 孙诗浩(思才) <sunshihao(dot)ssh(at)alibaba-inc(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: add operator ^= to mean not equal (like != and <>)
Date: 2021-08-10 09:10:00
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 8/10/21 10:27 AM, 孙诗浩(思才) wrote:
> Before send patch review, I want to konw whether the postgres maintainer
> will approve my changes.
> So, please give me some advice.


I do not think that is a feature which will get much interest from the
developers since it is unclear to me what the advantage of yet another
alias for not equal would be. It just takes up yet another operator and
means that there is yet another thing to remember for the users.
Personally I feel it is bad enough that we have two ways of writing it.

What is he reason you want to add ^= is there any other databases which
uses ^= for inequality?


In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2021-08-10 09:13:03 Re: add operator ^= to mean not equal (like != and <>)
Previous Message Yura Sokolov 2021-08-10 08:52:59 Bug in huge simplehash