Re: Getting a delta of two json-typed objects? (a breeze w/ hstore) - Mailing list pgsql-general

From Pavel Stehule
Subject Re: Getting a delta of two json-typed objects? (a breeze w/ hstore)
Date
Msg-id CAFj8pRAM6SeqatC495BAg8zkHCpVJ=N4Hq0_mnzhqf6nk_Eacg@mail.gmail.com
Whole thread Raw
In response to Getting a delta of two json-typed objects? (a breeze w/ hstore)  (Wells Oliver <wellsoliver@gmail.com>)
List pgsql-general

2015-01-22 20:37 GMT+01:00 Wells Oliver <wellsoliver@gmail.com>:
Hey all. I have a trigger function which does a delta of two hstore values just doing a - b; this check is performed to see if there's a delta and if not I don't log it.

I'm wondering if there's a suitable method for comparison two json objects? I don't have 9.4 yet so I can't use jsonb, but if there's any input here I'd appreciate it.

Thanks.

--

pgsql-general by date:

Previous
From: Wells Oliver
Date:
Subject: Getting a delta of two json-typed objects? (a breeze w/ hstore)
Next
From: "Felix Kunde"
Date:
Subject: Re: Getting a delta of two json-typed objects? (a breeze w/ hstore)