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

From Andrew Dunstan
Subject Re: json(b) equality rules
Date
Msg-id 533D4969.5050608@dunslane.net
Whole thread Raw
In response to Re: json(b) equality rules  (Oleg Bartunov <obartunov@gmail.com>)
Responses Re: json(b) equality rules  (Peter Geoghegan <pg@heroku.com>)
List 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






pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: GSoC proposal - "make an unlogged table logged"
Next
From: Heikki Linnakangas
Date:
Subject: Re: GSoC proposal - "make an unlogged table logged"