Re: jsonb concatenate operator's semantics seem questionable - Mailing list pgsql-hackers

From Robert Haas
Subject Re: jsonb concatenate operator's semantics seem questionable
Date
Msg-id CA+TgmoaJivg0N819XZ2ZgBW=Wp8K8rk1oCN4jm_YWLYgtzbJsA@mail.gmail.com
Whole thread Raw
In response to Re: jsonb concatenate operator's semantics seem questionable  (Peter Geoghegan <pg@heroku.com>)
Responses Re: jsonb concatenate operator's semantics seem questionable
List pgsql-hackers
On Mon, May 18, 2015 at 3:21 PM, Peter Geoghegan <pg@heroku.com> wrote:
> What is hard to understand about that?

What is hard to understand is why you're going on and on about what is
basically a matter of opinion after several people have said they
don't agree with your opinion.

Realistically, as much as we might try to fool ourselves into
believing otherwise, operators are not self-documenting, except for
the ones you knew by the fourth grade.  People will have to read the
documentation no matter what we do here.  If the documentation is good
enough, let's improve it.  But let's not fool ourselves into believing
that calling the operator || or + or (in the spirit of this
discussion) ?!?!?!? will make it clearer.  If we wanted to make it
clearer, we'd have made it a function instead of an operator.

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



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: jsonb concatenate operator's semantics seem questionable
Next
From: Ryan Pedela
Date:
Subject: Re: jsonb concatenate operator's semantics seem questionable