Re: json(b) equality rules

From: Hannu Krosing <hannu(at)krosing(dot)net>
To: obartunov(at)gmail(dot)com, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: json(b) equality rules
Date: 2014-04-03 12:21:25
Message-ID: 533D5245.8060903@krosing.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-04-03 12:21:54 Re: GSoC proposal - "make an unlogged table logged"
Previous Message Heikki Linnakangas 2014-04-03 12:02:27 Re: GSoC proposal - "make an unlogged table logged"