pg_sequences #
The view <structname>pg_sequences</structname> provides access to
useful information about each sequence in the database.
pg_sequencesビューはデータベース内の各シーケンスについての有用な情報へのアクセスを提供します。
表52.23 pg_sequencesの列
Column Type 列 型 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. 《機械翻訳》ディスクに書き込まれた最後のシーケンス値。 キャッシュが使用されている場合、この値はシーケンスから渡された最後の値より大きいことがあります。 |
The <structfield>last_value</structfield> column will read as null if any of
the following are true:
《機械翻訳》以下のいずれかに該当する場合、last_value列はNULLとして読み込まれます。
The sequence has not been read from yet. 《機械翻訳》シーケンスはまだ読み込まれていません。
The current user does not have <literal>USAGE</literal> or
<literal>SELECT</literal> privilege on the sequence.
《機械翻訳》現在のユーザはシーケンスに対するUSAGEまたはSELECT権限を持っていません。
The sequence is unlogged and the server is a standby. 《機械翻訳》シーケンスはログされず、サーバはスタンバイです。