Re: Coercion in PGSQL?

Поиск
Список
Период
Сортировка
Искать
От
Bruno Wolff III
Тема
Re: Coercion in PGSQL?
Дата
Msg-id
20070116202706.GA29844@wolff.to
Ответ на
Список
Дерево обсуждения
Coercion in PGSQL? Max Ueda <mhanzo@yahoo.com>
Re: Coercion in PGSQL? Bruno Wolff III <bruno@wolff.to>
Re: Coercion in PGSQL? "Filip Rembiałkowski" <filip.rembialkowski@gmail.com>
Re: Coercion in PGSQL? Max Ueda <mhanzo@yahoo.com>
Re: Coercion in PGSQL? "Filip Rembiałkowski" <plk.zuber@gmail.com>
On Tue, Jan 16, 2007 at 04:14:26 -0800,
  Max Ueda  wrote:
> 
> Some results made me think of coercion between int
> types. For example, atributing a int8 value into a
> int2 variable. Does it really happen (coercion)? Is
> the int8 value automatically converted into int2, or
> an error should be returned in that case?

area=> select 99999999999::int8::int2;
ERROR:  smallint out of range
В списке pgsql-general по дате отправления
От: Bertram Scharpf
Дата:
От: Tom Lane
Дата:
FAQ