|
7394 | 7394 | <entry>security labels</entry>
|
7395 | 7395 | </row>
|
7396 | 7396 |
|
| 7397 | + <row> |
| 7398 | + <entry><link linkend="view-pg-sequences"><structname>pg_sequences</structname></link></entry> |
| 7399 | + <entry>sequences</entry> |
| 7400 | + </row> |
| 7401 | + |
7397 | 7402 | <row>
|
7398 | 7403 | <entry><link linkend="view-pg-settings"><structname>pg_settings</structname></link></entry>
|
7399 | 7404 | <entry>parameter settings</entry>
|
@@ -9135,6 +9140,98 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
|
9135 | 9140 | </table>
|
9136 | 9141 | </sect1>
|
9137 | 9142 |
|
| 9143 | + <sect1 id="view-pg-sequences"> |
| 9144 | + <title><structname>pg_sequences</structname></title> |
| 9145 | + |
| 9146 | + <indexterm zone="view-pg-sequences"> |
| 9147 | + <primary>pg_sequences</primary> |
| 9148 | + </indexterm> |
| 9149 | + |
| 9150 | + <para> |
| 9151 | + The view <structname>pg_sequences</structname> provides access to |
| 9152 | + useful information about each sequence in the database. |
| 9153 | + </para> |
| 9154 | + |
| 9155 | + <table> |
| 9156 | + <title><structname>pg_sequences</> Columns</title> |
| 9157 | + |
| 9158 | + <tgroup cols="4"> |
| 9159 | + <thead> |
| 9160 | + <row> |
| 9161 | + <entry>Name</entry> |
| 9162 | + <entry>Type</entry> |
| 9163 | + <entry>References</entry> |
| 9164 | + <entry>Description</entry> |
| 9165 | + </row> |
| 9166 | + </thead> |
| 9167 | + <tbody> |
| 9168 | + <row> |
| 9169 | + <entry><structfield>schemaname</structfield></entry> |
| 9170 | + <entry><type>name</type></entry> |
| 9171 | + <entry><literal><link linkend="catalog-pg-namespace"><structname>pg_namespace</structname></link>.nspname</literal></entry> |
| 9172 | + <entry>Name of schema containing sequence</entry> |
| 9173 | + </row> |
| 9174 | + <row> |
| 9175 | + <entry><structfield>sequencename</structfield></entry> |
| 9176 | + <entry><type>name</type></entry> |
| 9177 | + <entry><literal><link linkend="catalog-pg-class"><structname>pg_class</structname></link>.relname</literal></entry> |
| 9178 | + <entry>Name of sequence</entry> |
| 9179 | + </row> |
| 9180 | + <row> |
| 9181 | + <entry><structfield>sequenceowner</structfield></entry> |
| 9182 | + <entry><type>name</type></entry> |
| 9183 | + <entry><literal><link linkend="catalog-pg-authid"><structname>pg_authid</structname></link>.rolname</literal></entry> |
| 9184 | + <entry>Name of sequence's owner</entry> |
| 9185 | + </row> |
| 9186 | + <row> |
| 9187 | + <entry><structfield>start_value</structfield></entry> |
| 9188 | + <entry><type>bigint</type></entry> |
| 9189 | + <entry></entry> |
| 9190 | + <entry>Start value of the sequence</entry> |
| 9191 | + </row> |
| 9192 | + <row> |
| 9193 | + <entry><structfield>min_value</structfield></entry> |
| 9194 | + <entry><type>bigint</type></entry> |
| 9195 | + <entry></entry> |
| 9196 | + <entry>Minimum value of the sequence</entry> |
| 9197 | + </row> |
| 9198 | + <row> |
| 9199 | + <entry><structfield>max_value</structfield></entry> |
| 9200 | + <entry><type>bigint</type></entry> |
| 9201 | + <entry></entry> |
| 9202 | + <entry>Maximum value of the sequence</entry> |
| 9203 | + </row> |
| 9204 | + <row> |
| 9205 | + <entry><structfield>increment_by</structfield></entry> |
| 9206 | + <entry><type>bigint</type></entry> |
| 9207 | + <entry></entry> |
| 9208 | + <entry>Increment value of the sequence</entry> |
| 9209 | + </row> |
| 9210 | + <row> |
| 9211 | + <entry><structfield>cycle</structfield></entry> |
| 9212 | + <entry><type>boolean</type></entry> |
| 9213 | + <entry></entry> |
| 9214 | + <entry>Whether the sequence cycles</entry> |
| 9215 | + </row> |
| 9216 | + <row> |
| 9217 | + <entry><structfield>cache_size</structfield></entry> |
| 9218 | + <entry><type>bigint</type></entry> |
| 9219 | + <entry></entry> |
| 9220 | + <entry>Cache size of the sequence</entry> |
| 9221 | + </row> |
| 9222 | + <row> |
| 9223 | + <entry><structfield>last_value</structfield></entry> |
| 9224 | + <entry><type>bigint</type></entry> |
| 9225 | + <entry></entry> |
| 9226 | + <entry>The last sequence value written to disk. If caching is used, |
| 9227 | + this value can be greater than the last value handed out from the |
| 9228 | + sequence. Null if the sequence has not been read from yet.</entry> |
| 9229 | + </row> |
| 9230 | + </tbody> |
| 9231 | + </tgroup> |
| 9232 | + </table> |
| 9233 | + </sect1> |
| 9234 | + |
9138 | 9235 | <sect1 id="view-pg-settings">
|
9139 | 9236 | <title><structname>pg_settings</structname></title>
|
9140 | 9237 |
|
|
0 commit comments