Re: INT8 / float casting question
От
ktm@rice.edu
Тема
Re: INT8 / float casting question
Дата
Msg-id
20141031151510.GG32559@aart.rice.edu
Ответ на
INT8 / float casting question (Filip Rembiałkowski)
Список
Дерево обсуждения
INT8 / float casting question Filip Rembiałkowski <filip.rembialkowski@gmail.com>
Re: INT8 / float casting question "ktm@rice.edu" <ktm@rice.edu>
Re: INT8 / float casting question Adrian Klaver <adrian.klaver@aklaver.com>
Re: INT8 / float casting question Adrian Klaver <adrian.klaver@aklaver.com>
On Fri, Oct 31, 2014 at 03:58:06PM +0100, Filip Rembiałkowski wrote: > psql.bin (9.3.4, server 9.3.5) > Type "help" for help. > > dev=# select (2^63-1)::INT8; > ERROR: bigint out of range > > > Does it HAVE to be so? > > > http://en.wikipedia.org/wiki/9223372036854775807 > > Thanks > Filip Yes: http://www.postgresql.org/docs/9.3/static/datatype.html Table 8-1: bigint, aliases int8 - signed eight-byte integer PostgreSQL does not have an unsigned integer type, since all the SQL ones are signed. Regards, Ken
В списке pgsql-sql по дате отправления