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

From Hannu Krosing
Subject Re: json(b) equality rules
Date
Msg-id 533D5245.8060903@krosing.net
Whole thread Raw
In response to json(b) equality rules  (Oleg Bartunov <obartunov@gmail.com>)
List pgsql-hackers
On 04/03/2014 04:32 AM, Oleg Bartunov wrote:
> Hi there,
>
> I'm wondering if we should follow all js equility rules as
> nicely visualized in
> http://strilanc.com/visualization/2014/03/27/Better-JS-Equality-Table.html
Probably not as JSON is general interchange format.

If somebody wants JavaScript rules, they can use pl/v8

Any equality operations specific for JSON should be related
to array and object/dictionary equality and not data
store inside JSON


Cheers
Hannu



pgsql-hackers by date:

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