Re: Contains and is contained by operators of inet datatypes - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Contains and is contained by operators of inet datatypes
Date
Msg-id CA+TgmoYsa-fPBgkn8HVdnkVufRiguUUgpDNazZW8JMT3a6AAYg@mail.gmail.com
Whole thread Raw
In response to Re: Contains and is contained by operators of inet datatypes  (Andreas Karlsson <andreas@proxel.se>)
Responses Re: Contains and is contained by operators of inet datatypes
Re: Contains and is contained by operators of inet datatypes
List pgsql-hackers
On Mon, Nov 21, 2016 at 7:57 AM, Andreas Karlsson <andreas@proxel.se> wrote:
> I like the patch because it means less operators to remember for me as a
> PostgreSQL user. And at least for me inet is a rarely used type compared to
> hstore, json and range types which all use @> and <@.

I agree that it would be nice to make the choice of operator names
more consistent.  I don't know if doing so will please more or fewer
people than it annoys.  I do not like this bit from the original post:

EH> The patch removes the recently committed SP-GiST index support for the
EH> existing operator symbols to give move reason to the users to use the
EH> new symbols.

That seems like the rough equivalent of throwing a wrench into the
datacenter's backup generator to "encourage" them to maintain two
separate and independent backup generators.  If we're going to add the
more-standard operator names as synonyms for the existing operator
names, let's do precisely that and no more.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Remove the comment on the countereffectiveness of large shared_buffers on Windows
Next
From: Amit Kapila
Date:
Subject: Re: [sqlsmith] Failed assertion in parallel worker in ExecInitSubPlan