pgsql: Teach add_json() that jsonb is of TYPCATEGORY_JSON. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Teach add_json() that jsonb is of TYPCATEGORY_JSON.
Date
Msg-id E1Wil62-0007Pv-Jn@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix typcategory labeling of jsonb.
Next
From: Robert Haas
Date:
Subject: pgsql: Remove overeager assertion in logical_heap_begin_rewrite.