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

Поиск
Список
Период
Сортировка
От Marko Tiikkaja
Тема Re: Allowing implicit 'text' -> xml|json|jsonb
Дата
Msg-id 54098052.1090306@joh.to
обсуждение исходный текст
Ответ на Re: Allowing implicit 'text' -> xml|json|jsonb  (Craig Ringer <craig@2ndquadrant.com>)
Список 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Joachim Wieland
Дата:
Сообщение: Re: pg_dump refactor patch to remove global variables
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: proposal: plpgsql - Assert statement