Re: proposal: early casting in plpgsql

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: proposal: early casting in plpgsql
Дата
Msg-id 162867790905281216x76978ed9h8e7791404e9b0d26@mail.gmail.com
обсуждение исходный текст
Ответ на Re: proposal: early casting in plpgsql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
2009/5/28 Tom Lane <tgl@sss.pgh.pa.us>:
> Pavel Stehule <pavel.stehule@gmail.com> writes:
>> for typmod others then -1 we should to use IO cast - but we should to
>> check, if it's one from known casts.
>
> I still think it's fundamentally wrong to be treating typmod -1 so
> differently from other typmods.  If this behavior is sane at all then
> it should work in both cases.
>

ok, I am sorry, you have a true. It should to add implicit cast (only
when it's necessary)

regards
Pavel Stehule

>                        regards, tom lane
>


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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: PostgreSQL Developer meeting minutes up
Следующее
От: Tom Lane
Дата:
Сообщение: Re: search_path vs extensions