Re: Casts

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Casts
Дата
Msg-id 15262.1155219243@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Casts  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
Martijn van Oosterhout <kleptog@svana.org> writes:
> You're not required to provide all the casts, but it's user friendly to
> do so. Requiring double casts to go between two essentially compatable
> types seems silly...

I believe what Greg had in mind included the idea that the parser would
automatically find two-step cast pathways if there wasn't a direct path.
This scares me though, as it seems like a recipe for surprising behavior.
        regards, tom lane


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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Casts
Следующее
От: mark@mark.mielke.cc
Дата:
Сообщение: Re: [BUGS] numerics lose scale and precision in views of unions