Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
33.42. sequences
Prev UpChapter 33. The Information SchemaHome Next

33.42. sequences

The viewsequences contains all sequences defined in the current database. Only those sequences are shown that the current user has access to (by way of being the owner or having some privilege).

Table 33.40. sequences Columns

NameData TypeDescription
sequence_catalogsql_identifierName of the database that contains the sequence (always the current database)
sequence_schemasql_identifierName of the schema that contains the sequence
sequence_namesql_identifierName of the sequence
data_typecharacter_data The data type of the sequence. InPostgres Pro, this is currently alwaysbigint.
numeric_precisioncardinal_number This column contains the (declared or implicit) precision of the sequence data type (see above). The precision indicates the number of significant digits. It can be expressed in decimal (base 10) or binary (base 2) terms, as specified in the columnnumeric_precision_radix.
numeric_precision_radixcardinal_number This column indicates in which base the values in the columnsnumeric_precision andnumeric_scale are expressed. The value is either 2 or 10.
numeric_scalecardinal_number This column contains the (declared or implicit) scale of the sequence data type (see above). The scale indicates the number of significant digits to the right of the decimal point. It can be expressed in decimal (base 10) or binary (base 2) terms, as specified in the columnnumeric_precision_radix.
start_valuecharacter_dataThe start value of the sequence
minimum_valuecharacter_dataThe minimum value of the sequence
maximum_valuecharacter_dataThe maximum value of the sequence
incrementcharacter_dataThe increment of the sequence
cycle_optionyes_or_noYES if the sequence cycles, elseNO

Note that in accordance with the SQL standard, the start, minimum, maximum, and increment values are returned as character strings.


Prev Home Next
33.41. schemata Up 33.43. sql_features
pdfepub
Go to Postgres Pro Standard 9.6
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp