Re: json(b) equality rules - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: json(b) equality rules
Date
Msg-id CAM3SWZT99O5jR8P1VK6gVxe7nQ_yZiAimrBcJSRqc_PtB5kAAg@mail.gmail.com
Whole thread Raw
In response to Re: json(b) equality rules  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On Thu, Apr 3, 2014 at 7:43 AM, Andrew Dunstan <andrew@dunslane.net> wrote:
> I don't think we should follow these rules at all. Json is not Javascript,
> and these are Javascript rules, not Json rules. I'm entirely opposed to
> treating 0, "0", false, and [0] as equal. The equality rule we actually have
> for jsonb is the correct one, I believe.

+1


-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: quiet inline configure check misses a step for clang
Next
From: Andres Freund
Date:
Subject: Re: jsonb is also breaking the rule against nameless unions