]> granicus.if.org Git - postgresql/commit
Reduce json <=> jsonb casts from explicit-only to assignment level.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 3 Mar 2015 16:26:04 +0000 (11:26 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 3 Mar 2015 16:26:04 +0000 (11:26 -0500)
commitb67f1ce181910e012b3a8ec7a35ba20a48247757
treea5a746a5c3fff3b640b3deb7c94d72e54ffc1f89
parente5f36902495d0c8d5dee9a5f43fb45d44540f795
Reduce json <=> jsonb casts from explicit-only to assignment level.

There's no reason to make users write an explicit cast to store a
json value in a jsonb column or vice versa.

We could probably even make these implicit, but that might open us up
to problems with ambiguous function calls, so for now just do this.
src/include/catalog/catversion.h
src/include/catalog/pg_cast.h