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

63 lines
5.5 KiB
HTML

<a name="EN-US_TOPIC_0000001188163608"></a><a name="EN-US_TOPIC_0000001188163608"></a>
<h1 class="topictitle1">PG_DESCRIPTION</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001188163608__en-us_topic_0059778572_p4121210525"><strong id="EN-US_TOPIC_0000001188163608__b84235270617011">PG_DESCRIPTION</strong> records optional descriptions (comments) for each database object. Descriptions of many built-in system objects are provided in the initial contents of <strong id="EN-US_TOPIC_0000001188163608__acfc451826e6441f69c04cd31428d308e">PG_DESCRIPTION</strong>.</p>
<p id="EN-US_TOPIC_0000001188163608__aa65a8d42997c491c92fd60c5c07b5b8e">See also <a href="dws_04_0617.html">PG_SHDESCRIPTION</a>, which performs a similar function for descriptions involving objects that are shared across a database cluster.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001188163608__t69600d5822c74a8aa9cbb0ee7f301cb0" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_DESCRIPTION columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001188163608__rd428c45fbe1c4d6f97138f02d02cfff4"><th align="left" class="cellrowborder" valign="top" width="16.16%" id="mcps1.3.3.2.5.1.1"><p id="EN-US_TOPIC_0000001188163608__a00815764f3a14ed4bbbfc402e013a61d">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.28%" id="mcps1.3.3.2.5.1.2"><p id="EN-US_TOPIC_0000001188163608__a4b3ee4774b01474cab6efe64a4d20b20">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="21.62%" id="mcps1.3.3.2.5.1.3"><p id="EN-US_TOPIC_0000001188163608__a81d9fdc8d9f043869f75cefa1d3f6030">Reference</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50.94%" id="mcps1.3.3.2.5.1.4"><p id="EN-US_TOPIC_0000001188163608__adf5016b002a449f4904186cc38df4f80">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001188163608__r179b763191924d169277dde9acbe4e26"><td class="cellrowborder" valign="top" width="16.16%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001188163608__a918c630d79aa4ff6b8e9fa4b65ac509c">objoid</p>
</td>
<td class="cellrowborder" valign="top" width="11.28%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001188163608__af1827cbc2e664e32b447ebe5a49ef1fc">oid</p>
</td>
<td class="cellrowborder" valign="top" width="21.62%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001188163608__a2181a8c48cda4bb990f6c9d50074a764">Any OID column</p>
</td>
<td class="cellrowborder" valign="top" width="50.94%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001188163608__a6273430f82e2474aab22bc1bfa8b56ad">OID of the object this description pertains to</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163608__r3b4939dee12b4c02b302d95f8f12c3af"><td class="cellrowborder" valign="top" width="16.16%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001188163608__a0077f257487e4822ae690620bff87388">classoid</p>
</td>
<td class="cellrowborder" valign="top" width="11.28%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001188163608__ac92903077f464922b13aef3d5094c44b">oid</p>
</td>
<td class="cellrowborder" valign="top" width="21.62%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001188163608__aba9191a0b01944718826075cb4bf52fb"><a href="dws_04_0578.html">PG_CLASS</a>oid</p>
</td>
<td class="cellrowborder" valign="top" width="50.94%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001188163608__a7cdab707287c48c68b0ee34872b61297">OID of the system catalog this object appears in</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163608__r4787babd8f21492bbbb9394abd0a2974"><td class="cellrowborder" valign="top" width="16.16%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001188163608__ac16ad6750b734c12bb158d05c3e668ce">objsubid</p>
</td>
<td class="cellrowborder" valign="top" width="11.28%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001188163608__ae8096a3c25ca4541afef8d3a4facfc52">integer</p>
</td>
<td class="cellrowborder" valign="top" width="21.62%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001188163608__aa86521abe1854613ae113fa1c455e7bf">-</p>
</td>
<td class="cellrowborder" valign="top" width="50.94%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001188163608__aacdc359cf3344d3dac0341199fc27abd">For a comment on a table column, this is the column number (the <strong id="EN-US_TOPIC_0000001188163608__b84235270617248">objoid</strong> and <strong id="EN-US_TOPIC_0000001188163608__b84235270617252">classoid</strong> refer to the table itself). For all other object types, this column is <strong id="EN-US_TOPIC_0000001188163608__b18288175414128">0</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163608__rc2541411a8a14a87920374deeb9e551b"><td class="cellrowborder" valign="top" width="16.16%" headers="mcps1.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001188163608__adec0b4ae09ea434185db089c266e0b52">description</p>
</td>
<td class="cellrowborder" valign="top" width="11.28%" headers="mcps1.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001188163608__afbb88381495744988b2e0e949a7f4e5a">text</p>
</td>
<td class="cellrowborder" valign="top" width="21.62%" headers="mcps1.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001188163608__a242a4f6f03d9403e918890140581a127">-</p>
</td>
<td class="cellrowborder" valign="top" width="50.94%" headers="mcps1.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001188163608__aef70bfc9a1e241b49f1964ea268f0525">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>