Re: jsonb contains behaviour weirdness - Mailing list pgsql-hackers

From Robert Haas
Subject Re: jsonb contains behaviour weirdness
Date
Msg-id CA+TgmobSW-djd1-daYHYkmz3G-s5JAbS5xmqpHi13kvrp1GBAw@mail.gmail.com
Whole thread Raw
In response to Re: jsonb contains behaviour weirdness  (Peter Geoghegan <pg@heroku.com>)
List pgsql-hackers
On Mon, Sep 15, 2014 at 2:18 PM, Peter Geoghegan <pg@heroku.com> wrote:
> On Mon, Sep 15, 2014 at 11:12 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Personally I'd think that we should retain it for objects; Peter's
>> main argument against that was that the comment would be too complicated,
>> but that seems a bit silly from here.
>
> I just don't see any point to it. My argument against the complexity
> of explaining why the optimization is only used with objects is based
> on the costs and the benefits. I think the benefits are very close to
> nil.

That seems pessimistic to me; I'm with Tom.

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



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: B-Tree support function number 3 (strxfrm() optimization)
Next
From: Tom Lane
Date:
Subject: Re: jsonb contains behaviour weirdness