pg_sequence
目录 pg_sequence 包含关于序列的信息。 序列的部分信息(例如名称和模式)存储在 pg_class 中
pg_class
Table 52.47. \1 字段列说明
\1
Column Type
Description
seqrelid oid (references pg_class.oid)
seqrelid
oid
该序列对应的 pg_class 条目的 OID
seqtypid oid (references pg_type.oid)
seqtypid
pg_type
序列的数据类型
seqstart int8
seqstart
int8
序列的起始值
seqincrement int8
seqincrement
序列的增量值
seqmax int8
seqmax
序列的最大值
seqmin int8
seqmin
序列的最小值
seqcache int8
seqcache
序列的缓存大小
seqcycle bool
seqcycle
bool
序列是否循环