⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 information_schema.sgml

📁 PostgreSQL7.4.6 for Linux
💻 SGML
📖 第 1 页 / 共 5 页
字号:
     </row>     <row>      <entry><literal>datetime_precision</literal></entry>      <entry><type>cardinal_number</type></entry>      <entry>Always null, since this information is not applied to array element data types in PostgreSQL</entry>     </row>     <row>      <entry><literal>interval_type</literal></entry>      <entry><type>character_data</type></entry>      <entry>Always null, since this information is not applied to array element data types in PostgreSQL</entry>     </row>     <row>      <entry><literal>interval_precision</literal></entry>      <entry><type>character_data</type></entry>      <entry>Always null, since this information is not applied to array element data types in PostgreSQL</entry>     </row>     <row>      <entry><literal>domain_default</literal></entry>      <entry><type>character_data</type></entry>      <entry>Not yet implemented</entry>     </row>     <row>      <entry><literal>udt_catalog</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>       Name of the database that the data type of the elements is       defined in (always the current database)      </entry>     </row>     <row>      <entry><literal>udt_schema</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>       Name of the schema that the data type of the elements is       defined in      </entry>     </row>     <row>      <entry><literal>udt_name</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>       Name of the data type of the elements      </entry>     </row>     <row>      <entry><literal>scope_catalog</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>Applies to a feature not available in PostgreSQL</entry>     </row>     <row>      <entry><literal>scope_schema</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>Applies to a feature not available in PostgreSQL</entry>     </row>     <row>      <entry><literal>scope_name</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>Applies to a feature not available in PostgreSQL</entry>     </row>     <row>      <entry><literal>maximum_cardinality</literal></entry>      <entry><type>cardinal_number</type></entry>      <entry>Always null, because arrays always have unlimited maximum cardinality in PostgreSQL</entry>     </row>     <row>      <entry><literal>dtd_identifier</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>       An identifier of the data type descriptor of the element.  This       is currently not useful.      </entry>     </row>    </tbody>   </tgroup>  </table> </sect1> <sect1 id="infoschema-enabled-roles">  <title><literal>enabled_roles</literal></title>  <para>   The view <literal>enabled_roles</literal> identifies all groups   that the current user is a member of.  (A role is the same thing as   a group.)  The difference between this view and   <literal>applicable_roles</literal> is that in the future there may   be a mechanism to enable and disable groups during a session.  In   that case this view identifies those groups that are currently   enabled.  </para>  <table>   <title><literal>enabled_roles</literal> Columns</title>   <tgroup cols="3">    <thead>     <row>      <entry>Name</entry>      <entry>Data Type</entry>      <entry>Description</entry>     </row>    </thead>    <tbody>     <row>      <entry><literal>role_name</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>Name of a group</entry>     </row>    </tbody>   </tgroup>  </table> </sect1> <sect1 id="infoschema-key-column-usage">  <title><literal>key_column_usage</literal></title>  <para>   The view <literal>key_column_usage</literal> identifies all columns   in the current database that are restricted by some unique, primary   key, or foreign key constraint.  Check constraints are not included   in this view.  Only those columns are shown that are contained in a   table owned the current user.  </para>  <table>   <title><literal>key_column_usage</literal> Columns</title>   <tgroup cols="3">    <thead>     <row>      <entry>Name</entry>      <entry>Data Type</entry>      <entry>Description</entry>     </row>    </thead>    <tbody>     <row>      <entry><literal>constraint_catalog</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>Name of the database that contains the constraint (always the current database)</entry>     </row>     <row>      <entry><literal>constraint_schema</literal</entry>      <entry><type>sql_identifier</type></entry>      <entry>Name of the schema that contains the constraint</entry>     </row>     <row>      <entry><literal>constraint_name</literal</entry>      <entry><type>sql_identifier</type></entry>      <entry>Name of the constraint</entry>     </row>     <row>      <entry><literal>table_catalog</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>       Name of the database that contains the table that contains the       column that is restricted by some constraint (always the       current database)      </entry>     </row>     <row>      <entry><literal>table_schema</literal</entry>      <entry><type>sql_identifier</type></entry>      <entry>       Name of the schema that contains the table that contains the       column that is restricted by some constraint      </entry>     </row>     <row>      <entry><literal>table_name</literal</entry>      <entry><type>sql_identifier</type></entry>      <entry>       Name of the table that contains the column that is restricted       by some constraint      </entry>     </row>     <row>      <entry><literal>column_name</literal</entry>      <entry><type>sql_identifier</type></entry>      <entry>       Name of the column that is restricted by some constraint      </entry>     </row>     <row>      <entry><literal>ordinal_position</literal</entry>      <entry><type>cardinal_number</type></entry>      <entry>       Ordinal position of the column within the constraint key (count       starts at 1)      </entry>     </row>    </tbody>   </tgroup>  </table> </sect1> <sect1 id="infoschema-parameters">  <title><literal>parameters</literal></title>  <para>   The view <literal>parameters</literal> contains information about   the parameters (arguments) all functions in the current database.   Only those functions are shown that the current user has access to   (by way of being the owner or having some privilege).  </para>  <table>   <title><literal>parameters</literal> Columns</title>   <tgroup cols="3">    <thead>     <row>      <entry>Name</entry>      <entry>Data Type</entry>      <entry>Description</entry>     </row>    </thead>    <tbody>     <row>      <entry><literal>specific_catalog</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>Name of the database containing the function (always the current database)</entry>     </row>     <row>      <entry><literal>specific_schema</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>Name of the schema containing the function</entry>     </row>     <row>      <entry><literal>specific_name</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>       The <quote>specific name</quote> of the function.  See <xref       linkend="infoschema-routines"> for more information.      </entry>     </row>     <row>      <entry><literal>ordinal_position</literal></entry>      <entry><type>cardinal_number</type></entry>      <entry>       Ordinal position of the parameter in the argument list of the       function (count starts at 1)      </entry>     </row>     <row>      <entry><literal>parameter_mode</literal></entry>      <entry><type>character_data</type></entry>      <entry>       Always <literal>IN</literal>, meaning input parameter (In the       future there might be other parameter modes.)      </entry>     </row>     <row>      <entry><literal>is_result</literal></entry>      <entry><type>character_data</type></entry>      <entry>Applies to a feature not available in PostgreSQL</entry>     </row>     <row>      <entry><literal>as_locator</literal></entry>      <entry><type>character_data</type></entry>      <entry>Applies to a feature not available in PostgreSQL</entry>     </row>     <row>      <entry><literal>parameter_name</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>Always null, since PostgreSQL does not support named parameters</entry>     </row>     <row>      <entry><literal>data_type</literal></entry>      <entry><type>character_data</type></entry>      <entry>       Data type of the parameter, if it is a built-in type, or       <literal>ARRAY</literal> if it is some array (in that case, see       the view <literal>element_types</literal>), else       <literal>USER-DEFINED</literal> (in that case, the type is       identified in <literal>udt_name</literal> and associated       columns).      </entry>     </row>     <row>      <entry><literal>character_maximum_length</literal></entry>      <entry><type>cardinal_number</type></entry>      <entry>Always null, since this information is not applied to parameter data types in PostgreSQL</entry>     </row>     <row>      <entry><literal>character_octet_length</literal></entry>      <entry><type>cardinal_number</type></entry>      <entry>Always null, since this information is not applied to parameter data types in PostgreSQL</entry>     </row>     <row>      <entry><literal>character_set_catalog</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>Applies to a feature not available in PostgreSQL</entry>     </row>     <row>      <entry><literal>character_set_schema</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>Applies to a feature not available in PostgreSQL</entry>     </row>     <row>      <entry><literal>character_set_name</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>Applies to a feature not available in PostgreSQL</entry>     </row>     <row>      <entry><literal>collation_catalog</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>Applies to a feature not available in PostgreSQL</entry>     </row>     <row>      <entry><literal>collation_schema</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>Applies to a feature not available in PostgreSQL</entry>     </row>     <row>      <entry><literal>collation_name</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>Applies to a feature not available in PostgreSQL</entry>     </row>     <row>      <entry><literal>numeric_precision</literal></entry>      <entry><type>cardinal_number</type></entry>      <entry>Always null, since this information is not applied to parameter data types in PostgreSQL</entry>     </row>     <row>      <entry><literal>numeric_precision_radix</literal></entry>      <entry><type>cardinal_number</type></entry>      <entry>Always null, since this information is not applied to parameter data types in PostgreSQL</entry>     </row>     <row>      <entry><literal>numeric_scale</literal></entry>      <entry><type>cardinal_number</type></entry>      <entry>Always null, since this information is not applied to parameter data types in PostgreSQL</entry>     </row>     <row>      <entry><literal>datetime_precision</literal></entry>      <entry><type>cardinal_number</type></entry>      <entry>Always null, since this information is not applied to parameter data types in PostgreSQL</entry>     </row>     <row>      <entry><literal>interval_type</literal></entry>      <entry><type>character_data</type></entry>      <entry>Always null, since this information is not applied to parameter data types in PostgreSQL</entry>     </row>     <row>      <entry><literal>interval_precision</literal></entry>      <entry><type>character_data</type></entry>      <entry>Always null, since this information is not applied to parameter data types in PostgreSQL</entry>     </row>     <row>      <entry><literal>udt_catalog</literal></entry>      <entry><type>sql_identifier</type></entry>      <entry>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -