Thread: pgsql: Teach add_json() that jsonb is of TYPCATEGORY_JSON.

pgsql: Teach add_json() that jsonb is of TYPCATEGORY_JSON.

From
Tom Lane
Date:
Teach add_json() that jsonb is of TYPCATEGORY_JSON.

This code really needs to be refactored so that there aren't so many copies
that can diverge.  Not to mention that this whole approach is probably
wrong.  But for the moment I'll just stick my finger in the dike.
Per report from Michael Paquier.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/62e57ff040e5d0acd303b94e86fff689effc5957

Modified Files
--------------
src/backend/utils/adt/json.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)