pgsql: Reduce json <=> jsonb casts from explicit-only to assignment lev - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Reduce json <=> jsonb casts from explicit-only to assignment lev
Date
Msg-id E1YSpe4-0006Ft-GS@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b67f1ce181910e012b3a8ec7a35ba20a48247757

Modified Files
--------------
src/include/catalog/catversion.h |    2 +-
src/include/catalog/pg_cast.h    |    4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: pgbench: Fix mistakes in Makefile.
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Add comment for "is_internal" parameter