Re: json(b) equality rules

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: obartunov(at)gmail(dot)com
Cc: 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 11:43:37
Message-ID: 533D4969.5050608@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 04/03/2014 05:02 AM, Oleg Bartunov wrote:
> Well, we don't supported Infinity and NaN in json(b), as well as Json
> standard :)
> Now we need a script, which generated nice html table.

(Oleg, please try not to top-post.)

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.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gabriel 2014-04-03 11:50:59 Firing trigger if only
Previous Message Andres Freund 2014-04-03 11:41:55 Re: GSoC proposal - "make an unlogged table logged"