gooderp18绿色标准版
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 line
5.3KB

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>51.84. pg_seclabels</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="prev" href="view-pg-rules.html" title="51.83. pg_rules" /><link rel="next" href="view-pg-sequences.html" title="51.85. pg_sequences" /></head><body><div xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="5" align="center">51.84. <code xmlns="http://www.w3.org/1999/xhtml" class="structname">pg_seclabels</code></th></tr><tr><td width="10%" align="left"><a accesskey="p" href="view-pg-rules.html" title="51.83. pg_rules">Prev</a> </td><td width="10%" align="left"><a accesskey="u" href="catalogs.html" title="Chapter 51. System Catalogs">Up</a></td><th width="60%" align="center">Chapter 51. System Catalogs</th><td width="10%" align="right"><a accesskey="h" href="index.html" title="PostgreSQL 12.4 Documentation">Home</a></td><td width="10%" align="right"> <a accesskey="n" href="view-pg-sequences.html" title="51.85. pg_sequences">Next</a></td></tr></table><hr></hr></div><div class="sect1" id="VIEW-PG-SECLABELS"><div class="titlepage"><div><div><h2 class="title" style="clear: both">51.84. <code class="structname">pg_seclabels</code></h2></div></div></div><a id="id-1.10.4.86.2" class="indexterm"></a><p>
  3. The view <code class="structname">pg_seclabels</code> provides information about
  4. security labels. It as an easier-to-query version of the
  5. <a class="link" href="catalog-pg-seclabel.html" title="51.45. pg_seclabel"><code class="structname">pg_seclabel</code></a> catalog.
  6. </p><div class="table" id="id-1.10.4.86.4"><p class="title"><strong>Table 51.85. <code class="structname">pg_seclabels</code> Columns</strong></p><div class="table-contents"><table class="table" summary="pg_seclabels Columns" border="1"><colgroup><col /><col /><col /><col /></colgroup><thead><tr><th>Name</th><th>Type</th><th>References</th><th>Description</th></tr></thead><tbody><tr><td><code class="structfield">objoid</code></td><td><code class="type">oid</code></td><td>any OID column</td><td>The OID of the object this security label pertains to</td></tr><tr><td><code class="structfield">classoid</code></td><td><code class="type">oid</code></td><td><code class="literal"><a class="link" href="catalog-pg-class.html" title="51.11. pg_class"><code class="structname">pg_class</code></a>.oid</code></td><td>The OID of the system catalog this object appears in</td></tr><tr><td><code class="structfield">objsubid</code></td><td><code class="type">int4</code></td><td> </td><td>
  7. For a security label on a table column, this is the column number (the
  8. <code class="structfield">objoid</code> and <code class="structfield">classoid</code> refer to
  9. the table itself). For all other object types, this column is
  10. zero.
  11. </td></tr><tr><td><code class="structfield">objtype</code></td><td><code class="type">text</code></td><td> </td><td>
  12. The type of object to which this label applies, as text.
  13. </td></tr><tr><td><code class="structfield">objnamespace</code></td><td><code class="type">oid</code></td><td><code class="literal"><a class="link" href="catalog-pg-namespace.html" title="51.32. pg_namespace"><code class="structname">pg_namespace</code></a>.oid</code></td><td>
  14. The OID of the namespace for this object, if applicable;
  15. otherwise NULL.
  16. </td></tr><tr><td><code class="structfield">objname</code></td><td><code class="type">text</code></td><td> </td><td>
  17. The name of the object to which this label applies, as text.
  18. </td></tr><tr><td><code class="structfield">provider</code></td><td><code class="type">text</code></td><td><code class="literal"><a class="link" href="catalog-pg-seclabel.html" title="51.45. pg_seclabel"><code class="structname">pg_seclabel</code></a>.provider</code></td><td>The label provider associated with this label.</td></tr><tr><td><code class="structfield">label</code></td><td><code class="type">text</code></td><td><code class="literal"><a class="link" href="catalog-pg-seclabel.html" title="51.45. pg_seclabel"><code class="structname">pg_seclabel</code></a>.label</code></td><td>The security label applied to this object.</td></tr></tbody></table></div></div><br class="table-break" /></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="view-pg-rules.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="catalogs.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="view-pg-sequences.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">51.83. <code class="structname">pg_rules</code> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 51.85. <code class="structname">pg_sequences</code></td></tr></table></div></body></html>
上海开阖软件有限公司 沪ICP备12045867号-1