Re: Why are json <=> jsonb casts marked as explicit-only?

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Why are json <=> jsonb casts marked as explicit-only?
Date: 2015-03-02 23:07:51
Message-ID: 54F4ED47.7050507@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 03/02/2015 04:26 PM, Tom Lane wrote:
> Surely they should be assignment level, if not implicit. I don't
> really see why I should have to write a cast to assign a json
> expression result into a jsonb column, in particular.
>
>

Probably an oversight/thinko on the part of everyone involved, me more
than most. Possibly too an overabundance of caution.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2015-03-02 23:16:25 Re: Redesigning checkpoint_segments
Previous Message Jeremy Harris 2015-03-02 23:04:31 Re: Abbreviated keys for text cost model fix