Re: Calling json_* functions with JSONB data

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: Peter van Hardenberg <pvh(at)pvh(dot)ca>, "pgsql-hackers(at)postgresql(dot)org Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Calling json_* functions with JSONB data
Date: 2016-05-23 21:38:16
Message-ID: 4eaed4e8-6e23-ef85-ffd8-849f3b39bd3c@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 5/23/16 11:55 AM, Peter van Hardenberg wrote:
> Fortunately, this seems quite easy to resolve by taking advantage of our
> ability to add json_*(jsonb) form of the functions.

Another issue no one has mentioned is functions that return JSON/JSONB.
IMO those should NOT be overloaded, because that will make it very easy
to accidentally change from one type to the other without meaning to.
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532) mobile: 512-569-9461

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David G. Johnston 2016-05-23 21:45:08 Re: Calling json_* functions with JSONB data
Previous Message David G. Johnston 2016-05-23 21:37:06 Re: Changed SRF in targetlist handling