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>
162 lines
14 KiB
HTML
162 lines
14 KiB
HTML
<a name="EN-US_TOPIC_0000001098654884"></a><a name="EN-US_TOPIC_0000001098654884"></a>
|
|
|
|
<h1 class="topictitle1">PG_SHADOW</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001098654884__afa0e28b7a37c4051b953116527b179ba"><strong id="EN-US_TOPIC_0000001098654884__b842352706214835">PG_SHADOW</strong> displays properties of all roles that are marked as <strong id="EN-US_TOPIC_0000001098654884__b842352706101148">rolcanlogin</strong> in <strong id="EN-US_TOPIC_0000001098654884__b842352706101156">PG_AUTHID</strong>.</p>
|
|
<p id="EN-US_TOPIC_0000001098654884__a1f7c4cfa16f7479690a049d2e07c9bca">The name stems from the fact that this table should not be readable by the public since it contains passwords. <a href="dws_04_0791.html">PG_USER</a> is a publicly readable view on <strong id="EN-US_TOPIC_0000001098654884__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_0000001098654884__t8fab0471fae84700b458de7925ce4d6f" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_SHADOW columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001098654884__r420d4c20549f48389e59a793eb07af17"><th align="left" class="cellrowborder" valign="top" width="17.11%" id="mcps1.3.3.2.5.1.1"><p id="EN-US_TOPIC_0000001098654884__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_0000001098654884__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_0000001098654884__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_0000001098654884__a111cecb9cd0b49bc8524ffbba0515fc4">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001098654884__r834f7b7c84a24c15ab5ca929fb10506f"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001098654884__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_0000001098654884__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_0000001098654884__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_0000001098654884__ab7fb2f13071d4d438e9aae6b2647e0de">User name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001098654884__r02e63cd4d0b04c1990301a74df654abc"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001098654884__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_0000001098654884__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_0000001098654884__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_0000001098654884__a60f98a3aa6fe40a7825547355f5207d2">ID of a user</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001098654884__rc201a5a2db714186922bf2abaa0147ee"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001098654884__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_0000001098654884__a8a187939a6e542ac85a0c435988eb0c6"><span id="EN-US_TOPIC_0000001098654884__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_0000001098654884__a653a37ee3e7d4720b98f2132e5f2e93d">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001098654884__ab81b815c37ef408cb2dbe9d91d1e31fe">Indicates that the user can create databases.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001098654884__r673b377b7ec648b983a06622b4f71692"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001098654884__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_0000001098654884__aa09d628bea2d4ec99fa293c193c647d1"><span id="EN-US_TOPIC_0000001098654884__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_0000001098654884__ad8853bdef12841a781f3229e05c232d7">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001098654884__a7c3cfd934b104e678c53357f091a3bc6">Indicates that the user is an administrator.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001098654884__r6ce672daae94433fae2eb54f632611f7"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001098654884__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_0000001098654884__aaf0433766fdc4a0193230445f43069ee"><span id="EN-US_TOPIC_0000001098654884__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_0000001098654884__a601bb8894dfc42cda381adfe46a0467f">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001098654884__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_0000001098654884__b842352706102355">true</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001098654884__r2014d8198834410ab4fef5121e2ca1f2"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001098654884__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_0000001098654884__a78770af8cf864bc1b5fb039e99e7e812"><span id="EN-US_TOPIC_0000001098654884__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_0000001098654884__a5147e5d3142b4494af146bf9ccbc6f40">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001098654884__abca464b7248c4c88b254e33b2859322a">User can initiate streaming replication and put the system in and out of backup mode.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001098654884__r57af32eeac5b49f2b5dec04f74dc7ddb"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001098654884__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_0000001098654884__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_0000001098654884__a84a00c68d1c44f22a6e0cde834dc3e40">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001098654884__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_0000001098654884__rf4b000a4de71412abe00cf97272afe85"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001098654884__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_0000001098654884__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_0000001098654884__ae3b909b709084a26badb0d7fbdee7b85">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001098654884__add210c261fa6466f91d98433ff4703e7">Account validity start time; null if no start time</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001098654884__rcc9614cd4ddc4bed931bf7e3bc0a2577"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001098654884__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_0000001098654884__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_0000001098654884__a34fea1df5cce4bdc8567298b2303c3c7">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001098654884__ad9dbe369ab2d4a26ababe20037c35849">Password expiry time; null if no expiration</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001098654884__r3b5923faae05436788598e72966fcd26"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001098654884__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_0000001098654884__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_0000001098654884__aa2e552b4d2714e7988df6be92e819a30">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001098654884__af6bdd31c2d554584ae2f5cb05d8166dd">Resource pool used by the user</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001098654884__row22455415144327"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001098654884__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_0000001098654884__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_0000001098654884__p27412515144327">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001098654884__p5821229144327">Parent resource pool</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001098654884__row48725342144323"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001098654884__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_0000001098654884__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_0000001098654884__p18606096144323">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001098654884__p30698845144323">The storage space of the permanent table.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001098654884__row138563812374"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001098654884__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_0000001098654884__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_0000001098654884__p168572083373">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001098654884__p58571487378">The storage space of the temporary table.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001098654884__row122041716113714"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001098654884__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_0000001098654884__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_0000001098654884__p112041016153719">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001098654884__p102041716193719">The operator disk flushing space.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001098654884__rf7473a9850774b50b3635986c6d9d672"><td class="cellrowborder" valign="top" width="17.11%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001098654884__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_0000001098654884__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_0000001098654884__ad9704a5563f54890b620a8c033c27752">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.66%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001098654884__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>
|
|
|