Re: (2^63 - 1)::bigint => out of range? (because of the doubleprecision)
В списке pgsql-general по дате отправления:
| От | Adrian Klaver |
|---|---|
| Тема | Re: (2^63 - 1)::bigint => out of range? (because of the doubleprecision) |
| Дата | |
| Msg-id | 718d7650-fb14-afce-2b34-334bc5cbbd5b@aklaver.com обсуждение |
| Ответ на | (2^63 - 1)::bigint => out of range? (because of the double precision) (Alexey Dokuchaev <danfe@nsu.ru>) |
| Список | pgsql-general |
On 06/08/2018 10:23 AM, Alexey Dokuchaev wrote: > Hi there, > > P.S. On a tangentally related note, why is "NO CYCLE" is the default > for sequences? > > [*] Per documentation, "The [SQL] standard's AS <data type> expression > is not supported." Another "why is it so?" question, btw. ;-) > I found it. Its in the docs for 9.6-. That is not the case anymore in 10+: https://www.postgresql.org/docs/10/static/sql-createsequence.html "data_type The optional clause AS data_type specifies the data type of the sequence. Valid types are smallint, integer, and bigint. bigint is the default. The data type determines the default minimum and maximum values of the sequence. " -- Adrian Klaver adrian.klaver@aklaver.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера