forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
69 lines
6.0 KiB
HTML
69 lines
6.0 KiB
HTML
<a name="EN-US_TOPIC_0000001233563109"></a><a name="EN-US_TOPIC_0000001233563109"></a>
|
|
|
|
<h1 class="topictitle1">PG_RLSPOLICY</h1>
|
|
<div id="body0000001091561524"><p id="EN-US_TOPIC_0000001233563109__p1270511163311"><strong id="EN-US_TOPIC_0000001233563109__b10945951143415">PG_RLSPOLICY</strong> displays the information about row-level access control policies.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233563109__table11669143412348" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_RLSPOLICY columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233563109__row06701334193419"><th align="left" class="cellrowborder" valign="top" width="14.531453145314533%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001233563109__a3747e02f89ea41c4af8f0f79c9b76f3a">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.13141314131413%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001233563109__ae20f1787aa68429d81a78d33bad2f6ec">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="71.33713371337134%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001233563109__a69e8f283a2594152bd616dea04b60bb7">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001233563109__row15670143423416"><td class="cellrowborder" valign="top" width="14.531453145314533%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563109__p9671113433412">polname</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.13141314131413%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563109__p1967113416342">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71.33713371337134%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563109__p20413181514118">Name of a row-level access control policy</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563109__row2671934153417"><td class="cellrowborder" valign="top" width="14.531453145314533%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563109__p186715340349">polrelid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.13141314131413%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563109__p11671834103414">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71.33713371337134%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563109__p61021227184114">Table OID of a row-level access control policy</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563109__row067113343347"><td class="cellrowborder" valign="top" width="14.531453145314533%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563109__p26728341340">polcmd</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.13141314131413%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563109__p106726349348">char</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71.33713371337134%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563109__p1241822215422">SQL operations affected by a row-level access control policy. The options are <strong id="EN-US_TOPIC_0000001233563109__b989912168521">*(ALL)</strong>, <strong id="EN-US_TOPIC_0000001233563109__b528232045219">r(SELECT)</strong>, <strong id="EN-US_TOPIC_0000001233563109__b2072810227527">w(UPDATE)</strong>, and <strong id="EN-US_TOPIC_0000001233563109__b131452619528">d(DELETE)</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563109__row5672163443413"><td class="cellrowborder" valign="top" width="14.531453145314533%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563109__p1157615215351">polpermissive</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.13141314131413%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563109__p15672173414349">boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71.33713371337134%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563109__p2672163412346">Type of a row-level access control policy</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001233563109__note10761172916719"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="EN-US_TOPIC_0000001233563109__p1069208181014">Values of <strong id="EN-US_TOPIC_0000001233563109__b84235270620618">polpermissive</strong>:</p>
|
|
<ul id="EN-US_TOPIC_0000001233563109__ul11269152511011"><li id="EN-US_TOPIC_0000001233563109__li02691525201018"><strong id="EN-US_TOPIC_0000001233563109__b182194493208">true</strong>: The row-level access control policy is a permissive policy.</li><li id="EN-US_TOPIC_0000001233563109__li13446727121015"><strong id="EN-US_TOPIC_0000001233563109__b158444612236">false</strong>: The row-level access control policy is a restrictive policy.</li></ul>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563109__row13672734183417"><td class="cellrowborder" valign="top" width="14.531453145314533%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563109__p36721934133415">polroles</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.13141314131413%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563109__p18673173420343">oid[]</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71.33713371337134%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563109__p171921656194211">OID of database user affected by a row-level access control policy</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563109__row629014421367"><td class="cellrowborder" valign="top" width="14.531453145314533%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563109__p8290134273618">polqual</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.13141314131413%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563109__p122901242153618">pg_node_tree</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71.33713371337134%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563109__p133771317204310">SQL condition expression of a row-level access control policy</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>
|
|
|