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
Message-ID: 8e7b4e08-630f-1172-26a7-9984dc0dc92f@proxel.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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.

Welcome!

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?

Andreas

In response to

Responses

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