doc-exports/docs/dws/dev/dws_04_0631.html
Lu, Huayi e6fa411af0 DWS DEV 830.201 version
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>
2024-05-16 07:24:04 +00:00

67 lines
5.9 KiB
HTML

<a name="EN-US_TOPIC_0000001233883365"></a><a name="EN-US_TOPIC_0000001233883365"></a>
<h1 class="topictitle1">PG_USER_STATUS</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001233883365__abc7027c277a84880a8f3868e0c3718cd"><strong id="EN-US_TOPIC_0000001233883365__b194971626144216">PG_USER_STATUS</strong> records the states of users that access to the database. It is accessible only to users with system administrator rights.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233883365__t8905698e0c3341b5bf282bf4b09ebed0" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_USER_STATUS columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233883365__re78ca0dcce4347ad973fc6444d5657ec"><th align="left" class="cellrowborder" valign="top" width="15.049999999999999%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001233883365__a46c940ffa12841a283480ee1463df081"><strong id="EN-US_TOPIC_0000001233883365__b84235270691445">Name</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="35.07%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001233883365__a9ae112640578440fa3f55d110c41abf6">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="49.88%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001233883365__a14cb443226e34da09ab6c5228d2a178a">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233883365__r04f65359c06a4361838c16881a86ec7e"><td class="cellrowborder" valign="top" width="15.049999999999999%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883365__a92f18aa8e43d40a9940c3adb211ec35d">roloid</p>
</td>
<td class="cellrowborder" valign="top" width="35.07%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883365__a5d14974c2edb4fb3b10432cdd211501f">oid</p>
</td>
<td class="cellrowborder" valign="top" width="49.88%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883365__a7e20ddbd3356483481a40b4d132b75e3">ID of the role</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883365__r4fb98b3eb42b47b7a760229daaaaa735"><td class="cellrowborder" valign="top" width="15.049999999999999%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883365__a463b402d8dcb441bb5fc25db75e44063">failcount</p>
</td>
<td class="cellrowborder" valign="top" width="35.07%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883365__a39b9c65af2a44eba97cddfcf08970e15">integer</p>
</td>
<td class="cellrowborder" valign="top" width="49.88%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883365__ac4c01e8805cc4a1da296ec46e88166e1">Specifies the number of failed attempts.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883365__rb1be51f790e2410ea2449bfc6337a003"><td class="cellrowborder" valign="top" width="15.049999999999999%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883365__a9173bde6a7c747238ba16bb853931f3b">locktime</p>
</td>
<td class="cellrowborder" valign="top" width="35.07%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883365__a3958d39dfc1d4850976a6be203c87f3f">timestamp with time zone</p>
</td>
<td class="cellrowborder" valign="top" width="49.88%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883365__a75c8b33442e84977b232de2cc664b2e0">Time at which the role is locked</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883365__r2ba6f92bc45f4fc2a7d206f4c9b2c4ff"><td class="cellrowborder" valign="top" width="15.049999999999999%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883365__af707243ad40641a5abacd4874e52610c">rolstatus</p>
</td>
<td class="cellrowborder" valign="top" width="35.07%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883365__a1a701013e96848c8bf4ba36dbc338ce3">smallint</p>
</td>
<td class="cellrowborder" valign="top" width="49.88%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883365__af13f9bdae97a4eaf84b8d1d76a87c167">Role state</p>
<ul id="EN-US_TOPIC_0000001233883365__u851c01c015f440bbb0b120cb1db29790"><li id="EN-US_TOPIC_0000001233883365__l67ced6e0e5254437b8d0b268b4962706"><strong id="EN-US_TOPIC_0000001233883365__b84235270614333">0</strong>: normal</li><li id="EN-US_TOPIC_0000001233883365__l8b4e2e8d32614e838bfc551371fffe1b"><strong id="EN-US_TOPIC_0000001233883365__b842352706133110">1</strong> indicates that the role is locked for some time because the failed login attempts exceed the threshold</li><li id="EN-US_TOPIC_0000001233883365__lb65bec1f4cde4c2a959499f54783a32a"><strong id="EN-US_TOPIC_0000001233883365__b842352706133112">2</strong> indicates that the role is locked by the administrator.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883365__row159091053193918"><td class="cellrowborder" valign="top" width="15.049999999999999%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883365__p149101353113913">permspace</p>
</td>
<td class="cellrowborder" valign="top" width="35.07%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883365__p9910153143913">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="49.88%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883365__p49101053113920">Size of the permanent table storage space used by a role in the current instance.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883365__row1143618217405"><td class="cellrowborder" valign="top" width="15.049999999999999%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883365__p44371829405">tempspace</p>
</td>
<td class="cellrowborder" valign="top" width="35.07%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883365__p174371924402">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="49.88%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883365__p134379213405">Size of the temporary table storage space used by a role in the current instance.</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>