PostgreSQL
51.85. pg_sequences
The view pg_sequences
provides access to useful information about each sequence in the database.
Table 51.86. pg_sequences
Columns
Name | Type | References | Description |
---|---|---|---|
|
|
|
Name of schema containing sequence |
|
|
|
Name of sequence |
|
|
|
Name of sequence’s owner |
|
|
|
Data type of the sequence |
|
|
Start value of the sequence |
|
|
|
Minimum value of the sequence |
|
|
|
Maximum value of the sequence |
|
|
|
Increment value of the sequence |
|
|
|
Whether the sequence cycles |
|
|
|
Cache size of the sequence |
|
|
|
The last sequence value written to disk. If caching is used, this value can be greater than the last value handed out from the sequence. Null if the sequence has not been read from yet. Also, if the current user does not have |
+
Prev | Up | Next |
---|---|---|
51.84. |
51.86. |
Submit correction
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.
Copyright © 1996-2023 The PostgreSQL Global Development Group