Reduce json <=> jsonb casts from explicit-only to assignment level.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: b67f1ce181910e012b3a8ec7a35ba20a48247757
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2015-03-03T16:26:04Z
Releases: 9.5.0
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.

Files

PathChange+/−
src/include/catalog/catversion.h modified +1 −1
src/include/catalog/pg_cast.h modified +2 −2