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

From Peter Geoghegan
Subject Re: jsonb contains behaviour weirdness
Date
Msg-id CAM3SWZT+7DJ8y4cPZmji-qbpPrUjmATBhPVHRV0t6=5V7YfgVA@mail.gmail.com
Whole thread Raw
In response to Re: jsonb contains behaviour weirdness  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: jsonb contains behaviour weirdness
List pgsql-hackers
On Fri, Sep 12, 2014 at 11:09 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I'm confused.  Are you proposing to return to sort + de-dup of JSON
> arrays?  Surely that is completely broken.  Arrays are ordered.

Sorry, my earlier remarks were premature. In fact, that alteration
only applied to existence, not containment. However, arrays are
ordered for the purposes of equality, but not containment.

-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: jsonb contains behaviour weirdness
Next
From: Josh Berkus
Date:
Subject: Re: jsonb contains behaviour weirdness