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
English manual coverage begins with PostgreSQL 7.4. Source history and runtime observations have their own recorded version boundaries.
Reading PG 18·Select a recorded version
- kind
- catalog
- lang
- en
- measured attributes
- true
- metadata release
- 18.6
- runtime columns
- seqrelid, seqtypid, seqstart, seqincrement, seqmax, seqmin, seqcache, seqcycle
- runtime verified
- false
- source
- english-manual
Definition PG 18
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
Catalog columns
| Column | Type | Nullability | Description |
|---|---|---|---|
| seqrelid | oid | Not null | The OID of the pg_class entry for this sequence |
| seqtypid | oid | Not null | Data type of the sequence |
| seqstart | int8 | Not null | Start value of the sequence |
| seqincrement | int8 | Not null | Increment value of the sequence |
| seqmax | int8 | Not null | Maximum value of the sequence |
| seqmin | int8 | Not null | Minimum value of the sequence |
| seqcache | int8 | Not null | Cache size of the sequence |
| seqcycle | bool | Not null | Whether the sequence cycles |
Compare versions
Source references
Full definition and evidence JSON
Definition sources
center · PostgreSQL 18 · catalog-bilingual-repair:9cc9db1bd968eb9c852897c2a4b275d753230ab1f60885eca0ee0e1d84a0f219
Text language: en · catalog-bilingual-repair:9cc9db1bd968eb9c852897c2a4b275d753230ab1f60885eca0ee0e1d84a0f219