Re: Calling json_* functions with JSONB data - Mailing list pgsql-hackers

From Jim Nasby
Subject Re: Calling json_* functions with JSONB data
Date
Msg-id 4eaed4e8-6e23-ef85-ffd8-849f3b39bd3c@BlueTreble.com
Whole thread Raw
In response to Calling json_* functions with JSONB data  (Peter van Hardenberg <pvh@pvh.ca>)
Responses Re: Calling json_* functions with JSONB data  ("David G. Johnston" <david.g.johnston@gmail.com>)
List 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



pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Changed SRF in targetlist handling
Next
From: "David G. Johnston"
Date:
Subject: Re: Calling json_* functions with JSONB data