doc-exports/docs/dws/dev/dws_04_0752.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

162 lines
14 KiB
HTML

<a name="EN-US_TOPIC_0000001233563317"></a><a name="EN-US_TOPIC_0000001233563317"></a>
<h1 class="topictitle1">PG_SHADOW</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001233563317__afa0e28b7a37c4051b953116527b179ba"><strong id="EN-US_TOPIC_0000001233563317__b842352706214835">PG_SHADOW</strong> displays properties of all roles that are marked as <strong id="EN-US_TOPIC_0000001233563317__b842352706101148">rolcanlogin</strong> in <strong id="EN-US_TOPIC_0000001233563317__b842352706101156">PG_AUTHID</strong>.</p>
<p id="EN-US_TOPIC_0000001233563317__a1f7c4cfa16f7479690a049d2e07c9bca">This view is not readable to all users because it contains passwords. <a href="dws_04_0791.html">PG_USER</a> is a publicly readable view on <strong id="EN-US_TOPIC_0000001233563317__en-us_topic_0058966313_b842352706101446">PG_SHADOW</strong> that blanks out the password column.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233563317__t8fab0471fae84700b458de7925ce4d6f" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_SHADOW columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233563317__r420d4c20549f48389e59a793eb07af17"><th align="left" class="cellrowborder" valign="top" width="17.11%" id="mcps1.3.3.2.5.1.1"><p id="EN-US_TOPIC_0000001233563317__ae8e8b0f5d58f475eac6b6892206a10d9">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="12.22%" id="mcps1.3.3.2.5.1.2"><p id="EN-US_TOPIC_0000001233563317__a48fcb128d082493abcdd6a302bc3816f">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="28.01%" id="mcps1.3.3.2.5.1.3"><p id="EN-US_TOPIC_0000001233563317__af48a4f9dce2e4acba49523b5fd0f154c">Reference</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="42.66%" id="mcps1.3.3.2.5.1.4"><p id="EN-US_TOPIC_0000001233563317__a111cecb9cd0b49bc8524ffbba0515fc4">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233563317__r834f7b7c84a24c15ab5ca929fb10506f"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001233563317__aa61db4d5618d4bc4a901a01fc3099db2">usename</p>
</td>
<td class="cellrowborder" valign="top" width="12.22%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001233563317__abd37de62730946b090d46aa9201cb3e2">name</p>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001233563317__a7cca0855def1454f814853705a7b04ca"><a href="dws_04_0574.html">PG_AUTHID</a>.rolname</p>
</td>
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001233563317__ab7fb2f13071d4d438e9aae6b2647e0de">User name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563317__r02e63cd4d0b04c1990301a74df654abc"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001233563317__ad5bf2939569b439e81a01cbc464f534b">usesysid</p>
</td>
<td class="cellrowborder" valign="top" width="12.22%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001233563317__a9511fc95ad2d49b99051c011a3c47ba1">oid</p>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001233563317__a537c557082c543c9ac8552d53cac865b"><a href="dws_04_0574.html">PG_AUTHID</a>.oid</p>
</td>
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001233563317__a60f98a3aa6fe40a7825547355f5207d2">ID of a user</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563317__rc201a5a2db714186922bf2abaa0147ee"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001233563317__ae96aaddd20eb4ff395f438b6bc3d9a08">usecreatedb</p>
</td>
<td class="cellrowborder" valign="top" width="12.22%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001233563317__a8a187939a6e542ac85a0c435988eb0c6"><span id="EN-US_TOPIC_0000001233563317__text5971435183719">boolean</span></p>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001233563317__a653a37ee3e7d4720b98f2132e5f2e93d">-</p>
</td>
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001233563317__ab81b815c37ef408cb2dbe9d91d1e31fe">Indicates that the user can create databases.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563317__r673b377b7ec648b983a06622b4f71692"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001233563317__af9ff9ad47aaa419da933d6ebf58b18eb">usesuper</p>
</td>
<td class="cellrowborder" valign="top" width="12.22%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001233563317__aa09d628bea2d4ec99fa293c193c647d1"><span id="EN-US_TOPIC_0000001233563317__text0109183710371">boolean</span></p>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001233563317__ad8853bdef12841a781f3229e05c232d7">-</p>
</td>
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001233563317__a7c3cfd934b104e678c53357f091a3bc6">Indicates that the user is an administrator.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563317__r6ce672daae94433fae2eb54f632611f7"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001233563317__a58a23828826c41369c0c66ab4dd5c007">usecatupd</p>
</td>
<td class="cellrowborder" valign="top" width="12.22%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001233563317__aaf0433766fdc4a0193230445f43069ee"><span id="EN-US_TOPIC_0000001233563317__text143591538173720">boolean</span></p>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001233563317__a601bb8894dfc42cda381adfe46a0467f">-</p>
</td>
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001233563317__ae35a3efa804d41238c8c609aa95b2680">Indicates that the user can update system catalogs. Even the system administrator cannot do this unless this column is <strong id="EN-US_TOPIC_0000001233563317__b842352706102355">true</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563317__r2014d8198834410ab4fef5121e2ca1f2"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001233563317__ab53bf2a6912447409c1c9085a14b49dc">userepl</p>
</td>
<td class="cellrowborder" valign="top" width="12.22%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001233563317__a78770af8cf864bc1b5fb039e99e7e812"><span id="EN-US_TOPIC_0000001233563317__text12776195063710">boolean</span></p>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001233563317__a5147e5d3142b4494af146bf9ccbc6f40">-</p>
</td>
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001233563317__abca464b7248c4c88b254e33b2859322a">User can initiate streaming replication and put the system in and out of backup mode.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563317__r57af32eeac5b49f2b5dec04f74dc7ddb"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001233563317__aaf70be5fd99f4db18a5f51b97cc9871e">passwd</p>
</td>
<td class="cellrowborder" valign="top" width="12.22%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001233563317__a36c9b76a4c8e431e85978deb27c723a0">text</p>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001233563317__a84a00c68d1c44f22a6e0cde834dc3e40">-</p>
</td>
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001233563317__a8a84fc6ddc8a45cc8224d37711291f15">Password (possibly encrypted); null if none. See <a href="dws_04_0574.html">PG_AUTHID</a> for details about how encrypted passwords are stored.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563317__rf4b000a4de71412abe00cf97272afe85"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001233563317__a8d43f0723e534d89a88ad2b56a64e107">valbegin</p>
</td>
<td class="cellrowborder" valign="top" width="12.22%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001233563317__ac9250e3f45d741cf9339b98fc0740fab">timestamp with time zone</p>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001233563317__ae3b909b709084a26badb0d7fbdee7b85">-</p>
</td>
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001233563317__add210c261fa6466f91d98433ff4703e7">Account validity start time; null if no start time</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563317__rcc9614cd4ddc4bed931bf7e3bc0a2577"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001233563317__ace956ed40b8a4710a4eea0fbe52963ae">valuntil</p>
</td>
<td class="cellrowborder" valign="top" width="12.22%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001233563317__p11704544143516">timestamp with time zone</p>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001233563317__a34fea1df5cce4bdc8567298b2303c3c7">-</p>
</td>
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001233563317__ad9dbe369ab2d4a26ababe20037c35849">Password expiry time; null if no expiration</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563317__r3b5923faae05436788598e72966fcd26"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001233563317__aba44583bfadb490288c300f45f9ef5e4">respool</p>
</td>
<td class="cellrowborder" valign="top" width="12.22%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001233563317__a49cabb18df9543b2b8fdf9f6e4791c39">name</p>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001233563317__aa2e552b4d2714e7988df6be92e819a30">-</p>
</td>
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001233563317__af6bdd31c2d554584ae2f5cb05d8166dd">Resource pool used by the user</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563317__row22455415144327"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001233563317__p6949296144327">parent</p>
</td>
<td class="cellrowborder" valign="top" width="12.22%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001233563317__p26022065144327">oid</p>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001233563317__p27412515144327">-</p>
</td>
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001233563317__p5821229144327">Parent resource pool</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563317__row48725342144323"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001233563317__p54438649144323">spacelimit</p>
</td>
<td class="cellrowborder" valign="top" width="12.22%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001233563317__p47454461144323">text</p>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001233563317__p18606096144323">-</p>
</td>
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001233563317__p30698845144323">The storage space of the permanent table.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563317__row138563812374"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001233563317__p1885612883712">tempspacelimit</p>
</td>
<td class="cellrowborder" valign="top" width="12.22%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001233563317__p168571483379">text</p>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001233563317__p168572083373">-</p>
</td>
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001233563317__p58571487378">The storage space of the temporary table.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563317__row122041716113714"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001233563317__p2020411611372">spillspacelimit</p>
</td>
<td class="cellrowborder" valign="top" width="12.22%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001233563317__p2020491613718">text</p>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001233563317__p112041016153719">-</p>
</td>
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001233563317__p102041716193719">The operator disk flushing space.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563317__rf7473a9850774b50b3635986c6d9d672"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001233563317__a7c0210db95544996a83aaf679e95da09">useconfig</p>
</td>
<td class="cellrowborder" valign="top" width="12.22%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001233563317__aed626afe6c524a19b55b1f6284111ebd">text[ ]</p>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001233563317__ad9704a5563f54890b620a8c033c27752">-</p>
</td>
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001233563317__a7d3713d5a7e34c6bb2395230c1501f22">Session defaults for runtime configuration variables</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0639.html">System Views</a></div>
</div>
</div>