53.47. pg_sequence #

В каталоге pg_sequence содержится информация о последовательностях. Некоторая информация о последовательностях, в частности имя и схема, хранится в pg_class.

Таблица 53.47. Столбцы pg_sequence

Тип столбца

Описание

seqrelid oid (ссылается на pg_class.oid)

OID записи в pg_class для этой последовательности

seqtypid oid (ссылается на pg_type.oid)

Тип данных последовательности

seqstart int8

Начальное значение последовательности

seqincrement int8

Шаг увеличения последовательности

seqmax int8

Максимальное значение последовательности

seqmin int8

Минимальное значение последовательности

seqcache int8

Размер кеша последовательности

seqcycle bool

Зацикливается ли последовательность


53.47. pg_sequence #

The catalog pg_sequence contains information about sequences. Some of the information about sequences, such as the name and the schema, is in pg_class

Table 53.47. pg_sequence Columns

Column Type

Description

seqrelid oid (references pg_class.oid)

The OID of the pg_class entry for this sequence

seqtypid oid (references pg_type.oid)

Data type of the sequence

seqstart int8

Start value of the sequence

seqincrement int8

Increment value of the sequence

seqmax int8

Maximum value of the sequence

seqmin int8

Minimum value of the sequence

seqcache int8

Cache size of the sequence

seqcycle bool

Whether the sequence cycles