Expand description
Read the options of a new sequence as PostgreSQL’s init_params reads them.
Structs§
- Declared
Sequence - A new sequence’s definition, with the value its first
nextvalreturns.
Functions§
- alter_
declared_ sequence - Read the options of
ALTER SEQUENCE, or of an identity column’sSETandRESTART, against an existing sequence whose definition isdefinitionand whose next value iscurrent, in the same order. An omitted option keeps its value,NO MINVALUEandNO MAXVALUEtake the defaults again, a new type takes its own bounds for the bounds that were the old type’s, and the current value is checked against the bounds the options produce. - declare_
sequence - Read the options of a new sequence of
data_type, its writtenAStype or the type of the identity column it serves, inPostgreSQL’s order: the type, the increment, cycling, the maximum, the minimum, their ranges, the start, the restart and the cache, each checked as it is read. An omitted option takes the default its type and the direction of its increment give it. - sequence_
option_ integer - An option’s value as
PostgreSQL’sdefGetInt64reads it. - sequence_
ownership - The column
OWNED BYnames, asPostgreSQLreads it once it has created the sequence:NONE, or a relation and one of its columns.