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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Reduce json <=> jsonb casts from explicit-only to assignment lev
Date: 2015-03-03 16:26:08
Message-ID: E1YSpe4-0006Ft-GS@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2015-03-03 17:06:54 pgsql: Add comment for "is_internal" parameter
Previous Message Robert Haas 2015-03-03 15:56:33 pgsql: pgbench: Fix mistakes in Makefile.