Sizes of sequences and serials

Поиск
Список
Период
Сортировка
От elein
Тема Sizes of sequences and serials
Дата
Msg-id 200209262344.g8QNiX0N256274@pimout4-ext.prodigy.net
обсуждение исходный текст
Список pgsql-general
According to the documentation, it looks like sequences
are always stored as bigints (if the platform supports them).

Serials, though, seem to be able to be declared as serial
with integer storage or serial8 for bigint storage.

Is the storage for ordinary serials really an int and not
a big int?  Is there a way to create a sequence stored
as an int instead of a big int?  For example by setting
the maximun size?

thanks,
elein@norcov.com

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

Предыдущее
От: Scott Chapman
Дата:
Сообщение: Re: SQL subquery to supply table name?
Следующее
От: Scott Chapman (by way of Scott Chapman
Дата:
Сообщение: Re: SQL subquery to supply table name?