forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
65 lines
5.9 KiB
HTML
65 lines
5.9 KiB
HTML
<a name="EN-US_TOPIC_0000001145894857"></a><a name="EN-US_TOPIC_0000001145894857"></a>
|
|
|
|
<h1 class="topictitle1">PG_SHSECLABEL</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001145894857__en-us_topic_0059778891_p163551246038"><strong id="EN-US_TOPIC_0000001145894857__b661733416133">PG_SHSECLABEL</strong> records security labels on shared database objects. Security labels can be manipulated with the <strong id="EN-US_TOPIC_0000001145894857__a9a6c9d2428ab4466a84bcde9677fa7e5">SECURITY LABEL</strong> command.</p>
|
|
<p id="EN-US_TOPIC_0000001145894857__a02eb107c40d74e5fa17053d497719c0e">For an easier way to view security labels, see <a href="dws_04_0748.html">PG_SECLABELS</a>.</p>
|
|
<p id="EN-US_TOPIC_0000001145894857__ab88087537c37458daaa357136e9840da">See also <a href="dws_04_0615.html">PG_SECLABEL</a>, which performs a similar function for security labels involving objects within a single database. </p>
|
|
<p id="EN-US_TOPIC_0000001145894857__a596b0dcd24844780af8acee691dd748f">Unlike most system catalogs, <strong id="EN-US_TOPIC_0000001145894857__b842352706105825">PG_SHSECLABEL</strong> is shared across all databases of a cluster. There is only one copy of <strong id="EN-US_TOPIC_0000001145894857__b842352706105842">PG_SHSECLABEL</strong> per cluster, not one per database. </p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001145894857__ta0aff93270d8498e893b35d1debbed38" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_SHSECLABEL columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001145894857__r29f303c6f97648949a165a7de76f003f"><th align="left" class="cellrowborder" valign="top" width="18.04819518048195%" id="mcps1.3.5.2.5.1.1"><p id="EN-US_TOPIC_0000001145894857__ae6ae5cc821e34c2b8ffd138570558a78">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="12.028797120287972%" id="mcps1.3.5.2.5.1.2"><p id="EN-US_TOPIC_0000001145894857__aadf8b4e75cda4ef9b193b66cc4215117">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="23.30766923307669%" id="mcps1.3.5.2.5.1.3"><p id="EN-US_TOPIC_0000001145894857__ad9d488bf5f6f4cef9a254d0326127e16">Reference</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="46.61533846615338%" id="mcps1.3.5.2.5.1.4"><p id="EN-US_TOPIC_0000001145894857__ac8755ba035374a0f873af068039a6d84">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001145894857__r356bae4400694f36a8832925cead01cf"><td class="cellrowborder" valign="top" width="18.04819518048195%" headers="mcps1.3.5.2.5.1.1 "><p id="EN-US_TOPIC_0000001145894857__ac92a74a996f04d54bfd1eef8249d21f6">objoid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.028797120287972%" headers="mcps1.3.5.2.5.1.2 "><p id="EN-US_TOPIC_0000001145894857__a3c09ba6106ee426b8035d42d7912da10">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.30766923307669%" headers="mcps1.3.5.2.5.1.3 "><p id="EN-US_TOPIC_0000001145894857__a226121b4828a4af2a63916a3cd2ef2e1">Any OID column</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.61533846615338%" headers="mcps1.3.5.2.5.1.4 "><p id="EN-US_TOPIC_0000001145894857__ab18f9b3ab1b34347b0489743ad9e1d49">OID of the object this security label pertains to</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145894857__r1494e61c4fe94b8e934ac1d864a39eba"><td class="cellrowborder" valign="top" width="18.04819518048195%" headers="mcps1.3.5.2.5.1.1 "><p id="EN-US_TOPIC_0000001145894857__a8e38fbf69ba74ae9a6ed7bc2fcee8685">classoid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.028797120287972%" headers="mcps1.3.5.2.5.1.2 "><p id="EN-US_TOPIC_0000001145894857__af73d898179064deda24908ad75d9c32c">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.30766923307669%" headers="mcps1.3.5.2.5.1.3 "><p id="EN-US_TOPIC_0000001145894857__a6ee2c90e3c8e4561b5930b9317ef2f85"><a href="dws_04_0578.html">PG_CLASS</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.61533846615338%" headers="mcps1.3.5.2.5.1.4 "><p id="EN-US_TOPIC_0000001145894857__aa42443c9a0dc4ac7881abe63f7a0c7e6">OID of the system catalog where the object resides</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145894857__rf6eb78ecd10d4111b79120ffb3433f59"><td class="cellrowborder" valign="top" width="18.04819518048195%" headers="mcps1.3.5.2.5.1.1 "><p id="EN-US_TOPIC_0000001145894857__ace8645e7bc404be5b321d960992dae94">provider</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.028797120287972%" headers="mcps1.3.5.2.5.1.2 "><p id="EN-US_TOPIC_0000001145894857__a371a1556c014411a87c4171cd9fbcd01">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.30766923307669%" headers="mcps1.3.5.2.5.1.3 "><p id="EN-US_TOPIC_0000001145894857__ab055701c2e96430a8784955441d82613">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.61533846615338%" headers="mcps1.3.5.2.5.1.4 "><p id="EN-US_TOPIC_0000001145894857__a6c9303b168c04f73bd336b7ac1c3c1f6">Label provider associated with this label</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145894857__ra6d7f32b43964552a3f75ea23b306ecf"><td class="cellrowborder" valign="top" width="18.04819518048195%" headers="mcps1.3.5.2.5.1.1 "><p id="EN-US_TOPIC_0000001145894857__acb4a282e2b294aa9bb43332a3c94e535">label</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.028797120287972%" headers="mcps1.3.5.2.5.1.2 "><p id="EN-US_TOPIC_0000001145894857__a2df06ed50178466196d3a8823bc3f00b">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="23.30766923307669%" headers="mcps1.3.5.2.5.1.3 "><p id="EN-US_TOPIC_0000001145894857__abcfc58fbf34e49ab8fe0983fef52913e">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.61533846615338%" headers="mcps1.3.5.2.5.1.4 "><p id="EN-US_TOPIC_0000001145894857__ae9047590f14742eebe2e77ad4af97afb">Security label applied to this object</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0561.html">System Catalogs</a></div>
|
|
</div>
|
|
</div>
|
|
|