doc-exports/docs/dws/dev/dws_04_0628.html
Lu, Huayi a24ca60074 DWS DEVELOPER 811 version
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>
2023-01-19 13:37:49 +00:00

71 lines
5.8 KiB
HTML

<a name="EN-US_TOPIC_0000001099135044"></a><a name="EN-US_TOPIC_0000001099135044"></a>
<h1 class="topictitle1">PG_TS_TEMPLATE</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001099135044__en-us_topic_0059778577_p99379301164"><strong id="EN-US_TOPIC_0000001099135044__b3475102119115">PG_TS_TEMPLATE</strong> records entries defining text search templates. A template provides a framework for text search dictionaries. Since a template must be implemented by C functions, templates can be created only by database administrators.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001099135044__tda60db9cc06440ffab2b855a0f0c997e" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_TS_TEMPLATE columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001099135044__r73f22c6ea76147fa8c623e2d8bb3f9bc"><th align="left" class="cellrowborder" valign="top" width="21.05%" id="mcps1.3.2.2.5.1.1"><p id="EN-US_TOPIC_0000001099135044__a2a69ae9882bc4803afb1c536c5710013">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="11.09%" id="mcps1.3.2.2.5.1.2"><p id="EN-US_TOPIC_0000001099135044__a2066abb741b844a6a4fafecfc31ea4b4">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="28.01%" id="mcps1.3.2.2.5.1.3"><p id="EN-US_TOPIC_0000001099135044__a4e6a180e82db4c42a7a7e77326eb2542">Reference</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="39.85%" id="mcps1.3.2.2.5.1.4"><p id="EN-US_TOPIC_0000001099135044__a96c29cef66b8451ba51d5b3085b8226b">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001099135044__rcdc92e38e7274acdb76a4e9d7d90570f"><td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001099135044__ad61ff08173d24aef83a12c694f9f757c">oid</p>
</td>
<td class="cellrowborder" valign="top" width="11.09%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001099135044__aca59044ed8f146f4859c3c8231557f22">oid</p>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001099135044__a7f50f857030d4e3bba733190b1f8fd4d">-</p>
</td>
<td class="cellrowborder" valign="top" width="39.85%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001099135044__adfd603ddbf874fbebe873183bef00ba5">Row identifier (hidden attribute; must be explicitly selected)</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001099135044__reb9869a30eb84239a71f42a52b66321e"><td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001099135044__a5eb807bf0fd04333a1dbb0528c9d9687">tmplname</p>
</td>
<td class="cellrowborder" valign="top" width="11.09%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001099135044__ae23d74d2d38240329cd17f364c790388">name</p>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001099135044__a1797cee6182d40b8b86ab3627502328d">-</p>
</td>
<td class="cellrowborder" valign="top" width="39.85%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001099135044__a99c870c3b86e431dbf9af4b05cc1f098">Text search template name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001099135044__rf4e8445bcc8b40d6904541b8d11bbbee"><td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001099135044__a52e9ea3ec0c64694aec4b39ab0c5f36f">tmplnamespace</p>
</td>
<td class="cellrowborder" valign="top" width="11.09%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001099135044__a5d0c8954ccad45de80cc954f6bde0793">oid</p>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001099135044__a31ca660342c24d649a9e0d92a6689afd"><a href="dws_04_0600.html">PG_NAMESPACE</a>.oid</p>
</td>
<td class="cellrowborder" valign="top" width="39.85%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001099135044__ad1e5114a1896456883b7868349c96174">OID of the namespace that contains the template</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001099135044__r9ab3c2ebf54a4235811e695718ef7cd3"><td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001099135044__a6729cdfcba6b4470bebbccdacac808a8">tmplinit</p>
</td>
<td class="cellrowborder" valign="top" width="11.09%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001099135044__af41b8b9a507c41e2acfe1425264b86cf">regproc</p>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001099135044__ab1ceb90aff4248dfad2dae94b309862d"><a href="dws_04_0608.html">PG_PROC</a>.oid</p>
</td>
<td class="cellrowborder" valign="top" width="39.85%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001099135044__aac516344836b4688bfbed71889057b8c">OID of the template's initialization function</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001099135044__r96e59f95eea4432ea3452ddd1a286085"><td class="cellrowborder" valign="top" width="21.05%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001099135044__a6b0ab5ea66a74123a1152693075e108c">tmpllexize</p>
</td>
<td class="cellrowborder" valign="top" width="11.09%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001099135044__aa623b53f325444deb16ab4299478d3e1">regproc</p>
</td>
<td class="cellrowborder" valign="top" width="28.01%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001099135044__aadbc5fc76cb6470d86f2d5f2bb5465ec"><a href="dws_04_0608.html">PG_PROC</a>.oid</p>
</td>
<td class="cellrowborder" valign="top" width="39.85%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001099135044__a1c7ce2c9d92b4f7b876a9ec89fcc819d">OID of the template's lexize function</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>