Owner
The owner of the sequence function.
Note: Support from PostgreSQL 8.0 or later.
Increment
Specifies which value is added to the current sequence value to create a new
value. A positive value will make an ascending sequence, a negative one a
descending sequence. The default value is 1.
Current value
The starting value of the sequence.
Minimum
Determines the minimum value a sequence can generate. If no minimum value is specified, then defaults will be used.
Maximum
Determines the maximum value for the sequence. If no maximum value is specified, then default values will be used.
Cache
Specifies how many sequence numbers are to be preallocated and stored in memory for faster access. The minimum value is 1 (only one value can be generated at a time, i.e., no cache), and this is also the default.
Cycled
This option allows the sequence to wrap around when the maxvalue or minvalue has been reached
by an ascending or descending sequence respectively. If the limit is reached, the next number
generated will be the minvalue maxvalue, respectively. Otherwise, any calls to nextval after the
sequence has reached its maximum value will return an error.
Add owned by
Choose the Owned by table and Owned by column so that the sequence is associated with a specific table column, such that if that column (or its whole table) is dropped, the sequence will be automatically dropped as well. The specified table must have the same owner and be in the same schema as the sequence.
Note: Support from PostgreSQL 8.2 or later.