Re: json(b) equality rules

From: Peter Geoghegan <pg(at)heroku(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: obartunov(at)gmail(dot)com, Yeb Havinga <yebhavinga(at)gmail(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: json(b) equality rules
Date: 2014-04-03 15:20:43
Message-ID: CAM3SWZT99O5jR8P1VK6gVxe7nQ_yZiAimrBcJSRqc_PtB5kAAg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Apr 3, 2014 at 7:43 AM, Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-04-03 15:28:34 Re: jsonb is also breaking the rule against nameless unions
Previous Message Mike Blackwell 2014-04-03 14:39:52 Re: BUG #9518: temporary login failure - "missing pg_hba entry"