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>
55 lines
5.0 KiB
HTML
55 lines
5.0 KiB
HTML
<a name="EN-US_TOPIC_0000001233681633"></a><a name="EN-US_TOPIC_0000001233681633"></a>
|
|
|
|
<h1 class="topictitle1">PG_SHDESCRIPTION</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001233681633__en-us_topic_0059779259_p192111442436"><strong id="EN-US_TOPIC_0000001233681633__b23834541817">PG_SHDESCRIPTION</strong> records optional comments for shared database objects. Descriptions can be manipulated with the <strong id="EN-US_TOPIC_0000001233681633__b84235270622053">COMMENT</strong> command and viewed with gsql's <strong id="EN-US_TOPIC_0000001233681633__b842352706105459">\d</strong> commands.</p>
|
|
<p id="EN-US_TOPIC_0000001233681633__ad4d0e29b2ab14139b1175b5953bc3598">See also <a href="dws_04_0586.html">PG_DESCRIPTION</a>, which performs a similar function for descriptions involving objects within a single database. </p>
|
|
<p id="EN-US_TOPIC_0000001233681633__aad1d8c11885c4fe798ebe25ad1532c7c">Unlike most system catalogs, <strong id="EN-US_TOPIC_0000001233681633__b842352706105825">PG_SHDESCRIPTION</strong> is shared across all databases of a cluster. There is only one copy of <strong id="EN-US_TOPIC_0000001233681633__b842352706105842">PG_SHDESCRIPTION</strong> per cluster, not one per database.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233681633__tcb1b27e5a0854d16b368da75687ac957" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_SHDESCRIPTION columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233681633__rbb51803817a74dc28f70e4f880451882"><th align="left" class="cellrowborder" valign="top" width="16.351635163516352%" id="mcps1.3.4.2.5.1.1"><p id="EN-US_TOPIC_0000001233681633__a4647dfd54d7f4cff9fbc447adb22f62e">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="10.15101510151015%" id="mcps1.3.4.2.5.1.2"><p id="EN-US_TOPIC_0000001233681633__acbdfe94037d14e6b900a00cb98cd196c">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26.502650265026507%" id="mcps1.3.4.2.5.1.3"><p id="EN-US_TOPIC_0000001233681633__ab1003e7a1073432a863c3f87cd2c2524">Reference</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="46.994699469946994%" id="mcps1.3.4.2.5.1.4"><p id="EN-US_TOPIC_0000001233681633__aabbfdd8eee64403dbd27e6c27cf742f3">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001233681633__rbf8fcb743e7a496fb92ee83a144fc41e"><td class="cellrowborder" valign="top" width="16.351635163516352%" headers="mcps1.3.4.2.5.1.1 "><p id="EN-US_TOPIC_0000001233681633__ac81e82644778464ea378ea0731f69f64">objoid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10.15101510151015%" headers="mcps1.3.4.2.5.1.2 "><p id="EN-US_TOPIC_0000001233681633__a4c077cc772a74706b08286f96e47a8b4">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.502650265026507%" headers="mcps1.3.4.2.5.1.3 "><p id="EN-US_TOPIC_0000001233681633__a3b2221d096a741dd96b2ae82d0d10fc8">Any OID column</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.994699469946994%" headers="mcps1.3.4.2.5.1.4 "><p id="EN-US_TOPIC_0000001233681633__a2d4d78976bed45398923e7c80d5d72dc">OID of the object this description pertains to</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233681633__r2474354d0759406dae5763ce7549b798"><td class="cellrowborder" valign="top" width="16.351635163516352%" headers="mcps1.3.4.2.5.1.1 "><p id="EN-US_TOPIC_0000001233681633__aa35db493d34448f19e76f7e2ccdeb533">classoid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10.15101510151015%" headers="mcps1.3.4.2.5.1.2 "><p id="EN-US_TOPIC_0000001233681633__aa0ee51eac40f4a448c818630fdc2fae7">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.502650265026507%" headers="mcps1.3.4.2.5.1.3 "><p id="EN-US_TOPIC_0000001233681633__a6d4ed60905bb4004b50f7e069c1d7a53"><a href="dws_04_0578.html">PG_CLASS</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.994699469946994%" headers="mcps1.3.4.2.5.1.4 "><p id="EN-US_TOPIC_0000001233681633__afb254ed0d2bc40fbbc82cb72dfb5c76e">OID of the system catalog where the object resides</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233681633__rfe3f331694d14c739f0c33df23b467f5"><td class="cellrowborder" valign="top" width="16.351635163516352%" headers="mcps1.3.4.2.5.1.1 "><p id="EN-US_TOPIC_0000001233681633__a61feb2ffdf014cba99423786395b5a33">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="10.15101510151015%" headers="mcps1.3.4.2.5.1.2 "><p id="EN-US_TOPIC_0000001233681633__a719ba24d4c0a446fa67fc21837c5ce25">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.502650265026507%" headers="mcps1.3.4.2.5.1.3 "><p id="EN-US_TOPIC_0000001233681633__a4424c802bbcb423da2da382b877f0292">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="46.994699469946994%" headers="mcps1.3.4.2.5.1.4 "><p id="EN-US_TOPIC_0000001233681633__a311ff1f3799f4d55b13d62bd5bbe734e">Arbitrary text that serves as the description of 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>
|
|
|