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>
91 lines
7.9 KiB
HTML
91 lines
7.9 KiB
HTML
<a name="EN-US_TOPIC_0000001188642074"></a><a name="EN-US_TOPIC_0000001188642074"></a>
|
|
|
|
<h1 class="topictitle1">PG_COLLATION</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001188642074__en-us_topic_0059779096_p266911115517"><strong id="EN-US_TOPIC_0000001188642074__b842352706161245">PG_COLLATION</strong> records the available collations, which are essentially mappings from an SQL name to operating system locale categories.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001188642074__tcf17e1852b3d4a77bd7850740d25c57d" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_COLLATION columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001188642074__r1a709d808f284a6da87857d98a6f04ee"><th align="left" class="cellrowborder" valign="top" width="21.43%" id="mcps1.3.2.2.5.1.1"><p id="EN-US_TOPIC_0000001188642074__a505623765e2141999442b3104cf5eb37">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="12.41%" id="mcps1.3.2.2.5.1.2"><p id="EN-US_TOPIC_0000001188642074__ad441944323d0432f81997fc75fc2a173">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="27.439999999999998%" id="mcps1.3.2.2.5.1.3"><p id="EN-US_TOPIC_0000001188642074__a895081082f504c03b1ef452006f236c6">Reference</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="38.72%" id="mcps1.3.2.2.5.1.4"><p id="EN-US_TOPIC_0000001188642074__a5375278c4a66422880ff70c8004edea7">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001188642074__r320c08a09bc44a45b264f182e0d26a5a"><td class="cellrowborder" valign="top" width="21.43%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188642074__a967ac63484c64c7b955d8af91e81758a">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188642074__a4f264267d9a5468492cba92990b15118">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.439999999999998%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188642074__a326ca52c50034e72914af273084d8ccf">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="38.72%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188642074__a8138c65432354d9390daf7224f19e83e">Row identifier (hidden attribute; must be explicitly selected)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188642074__r22f9dc82e938444d9fc535143635eb1a"><td class="cellrowborder" valign="top" width="21.43%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188642074__a57d94c93c6dd4ad1b84418b93cf8594f">collname</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188642074__ac1b8b10f132a49cb8f2c889a499f56e1">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.439999999999998%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188642074__a483634c1c96c4cbdbd1827320f9e81ad">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="38.72%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188642074__a3a26e0e66dc841e19ed6b26c4e6c8991">Collation name (unique per namespace and encoding)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188642074__r967ab5df4085453b9179728b295a0be9"><td class="cellrowborder" valign="top" width="21.43%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188642074__a683274065cc945349ea32faf69f42422">collnamespace</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188642074__aada4c310c4064b8eb678e4c0acbadb12">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.439999999999998%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188642074__a27964bdfcd7c4916984737ccd24edbfb"><a href="dws_04_0600.html">PG_NAMESPACE</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="38.72%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188642074__afbfd5194357a4a46bdb745a90e51d64e">OID of the namespace that contains this collation</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188642074__r1ea29d6382984329a29f048402742461"><td class="cellrowborder" valign="top" width="21.43%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188642074__ada50acb055ef448fadc3dbe97f9a9cf3">collowner</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188642074__a856a26cdeff1485388d607c8874bda7b">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.439999999999998%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188642074__abe6e97862ddf40bda7c1254fb2d661ed"><a href="dws_04_0574.html">PG_AUTHID</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="38.72%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188642074__a64e8cd8492dc4c4ab7c5a4142a865714">Owner of the collation</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188642074__r0366b5c47bad4fb1bed1be63de4cfc31"><td class="cellrowborder" valign="top" width="21.43%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188642074__a49ebb5dea23344b7a521994944a99ea2">collencoding</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188642074__ac7c3dbc5ffe44b7b8f7a446dde4445e4">integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.439999999999998%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188642074__a1dba4958793f4b49ad1c0d3eddf690bf">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="38.72%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188642074__a9ba96de9d4c548509c1dc8286b6f0f5f">Encoding in which the collation is applicable, or <strong id="EN-US_TOPIC_0000001188642074__b842352706193229">-1</strong> if it works for any encoding</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001188642074__note1994413276438"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="EN-US_TOPIC_0000001188642074__p13944162734315">You can use the <strong id="EN-US_TOPIC_0000001188642074__b960127135016">pg_encoding_to_char()</strong> function to convert a number to the corresponding code name.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188642074__r37a84b27ca684161a0953553092303d7"><td class="cellrowborder" valign="top" width="21.43%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188642074__a903d30ee81ae43dd9d32b29fc4af0429">collcollate</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188642074__a72e9677008f3418185b53c16528c2d85">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.439999999999998%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188642074__abbe71cbfa16b4c31a40b61e81fe28c32">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="38.72%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188642074__a516cf223715b409883c317c5b1fda0c4"><strong id="EN-US_TOPIC_0000001188642074__b842352706161631">LC_COLLATE</strong> for this collation object</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188642074__rdb2c6bc8d7d549f9b07fa8ee5dff9ab8"><td class="cellrowborder" valign="top" width="21.43%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188642074__a7d6b574ea39f474e957b9e091c32a266">collctype</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="12.41%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188642074__acac052623f10430ca7cd8c4318564d0f">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.439999999999998%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188642074__a7b6e3462def74a8e89aa793b964728b5">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="38.72%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188642074__a352bfd6650924311b9f49f569e30c83c"><strong id="EN-US_TOPIC_0000001188642074__b1749122277">LC_CTYPE</strong> for this collation 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>
|
|
|