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.

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

Columns 8

ColumnTypeDescription / reference
seqrelidoidThe OID of the pg_class entry for this sequence
pg_class.oid
seqtypidoidData type of the sequence
pg_type.oid
seqstartint8Start value of the sequence
seqincrementint8Increment value of the sequence
seqmaxint8Maximum value of the sequence
seqminint8Minimum value of the sequence
seqcacheint8Cache size of the sequence
seqcycleboolWhether the sequence cycles
Column history across versions
Version history 2
  1. PG 13 → 14changed
  2. PG 9.6 → 10added

Definition snapshot: english-manuals:55212fc7f3e47ae2838a1def92d… · English manual source