↑↓ select ↵ open ⌫ change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

System Catalogs / System catalogs

The catalog pg_sequence contains information about sequences.

Reading PG 18current·documented in 11 of 24 versions, 10 to 20

Kind
System catalogs
Columns in this snapshot
8
Definition source
English manual
Metadata snapshot
18.6

Columns 8

As listed in the PostgreSQL 18 manual.

ColumnTypeDescription / reference
seqrelidoidNOT NULLThe OID of the pg_class entry for this sequence
pg_class.oid
seqtypidoidNOT NULLData type of the sequence
pg_type.oid
seqstartint8NOT NULLStart value of the sequence
seqincrementint8NOT NULLIncrement value of the sequence
seqmaxint8NOT NULLMaximum value of the sequence
seqminint8NOT NULLMinimum value of the sequence
seqcacheint8NOT NULLCache size of the sequence
seqcycleboolNOT NULLWhether the sequence cycles
Column history across versions
Version history 2
  1. 13 → 14 reworded
  2. 9.6 → 10 added

Definition snapshot: english-manuals:87aecb8d9f1a9f194a72f6e192c… · English manual source