Re: Allowing implicit 'text' -> xml|json|jsonb

From: Marko Tiikkaja <marko(at)joh(dot)to>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Álvaro Hernández Tortosa <aht(at)nosys(dot)es>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Allowing implicit 'text' -> xml|json|jsonb
Date: 2014-09-05 09:20:18
Message-ID: 54098052.1090306@joh.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 9/5/14 11:08 AM, Craig Ringer wrote:
> On 09/05/2014 05:04 PM, Marko Tiikkaja wrote:
>>
>> I really don't like the idea of relaxing casts. And I really object to
>> the notion of casting from test to date being "obviously right".
>
> Gah. It's obviously right to *reject* implicit conversions like
> text->date. I specifically do _not_ want to add such a conversion, and
> gave a list of types for which I think conversions from text are
> appropriate.

Oh, *strict casting* is obviously right. My apologies, I completely
misparsed that.

.marko

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2014-09-05 09:21:30 Re: proposal: plpgsql - Assert statement
Previous Message Joachim Wieland 2014-09-05 09:19:00 Re: pg_dump refactor patch to remove global variables