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>
98 lines
8.4 KiB
HTML
98 lines
8.4 KiB
HTML
<a name="EN-US_TOPIC_0000001145814905"></a><a name="EN-US_TOPIC_0000001145814905"></a>
|
|
|
|
<h1 class="topictitle1">PG_TS_PARSER</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001145814905__en-us_topic_0059777552_p31558278615"><strong id="EN-US_TOPIC_0000001145814905__b15820133312321">PG_TS_PARSER</strong> records entries defining text search parsers. A parser splits input text into lexemes and assigns a token type to each lexeme. Since a parser must be implemented by C functions, parsers can be created only by database administrators.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001145814905__tda9495cc9889473fbed9a227ce3c313f" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_TS_PARSER columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001145814905__rb131ada24e7c413bb052f029385baa19"><th align="left" class="cellrowborder" valign="top" width="18.61%" id="mcps1.3.2.2.5.1.1"><p id="EN-US_TOPIC_0000001145814905__ab2ff2afae48340f2afa230fcc06381bf">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="11.66%" id="mcps1.3.2.2.5.1.2"><p id="EN-US_TOPIC_0000001145814905__a3925d992a6d244f0900c16ad56cd6dfe">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="27.060000000000002%" id="mcps1.3.2.2.5.1.3"><p id="EN-US_TOPIC_0000001145814905__a8ff5d7826bd64e8ca7ba01626d625cf5">Reference</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="42.67%" id="mcps1.3.2.2.5.1.4"><p id="EN-US_TOPIC_0000001145814905__a3b95fc51e3e14ba7aa19d1a9ce44fbb2">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001145814905__r4453b180846743f9be984f5c913cfcfa"><td class="cellrowborder" valign="top" width="18.61%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001145814905__aa1f4ccf3e0a6414a8d3cda9e2cae7e93">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.66%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001145814905__a18f98a097f4b4d64834fe53c3b02fbd1">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.060000000000002%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001145814905__a0e2e04f9b2c74b9cb53a5fa629fa78fb">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.67%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001145814905__aedda6bdf5a6840b19cf04de204fa5cbb">Row identifier (hidden attribute; must be explicitly selected)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145814905__re25b5c49546e4f579be8b084bf3d97b9"><td class="cellrowborder" valign="top" width="18.61%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001145814905__a703a694ffc694a3184955adcf1a57f12">prsname</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.66%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001145814905__a301bce3cd515466b881e0eadf38a79c9">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.060000000000002%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001145814905__ab5f7172d1560474da4c6594179c3b0fa">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.67%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001145814905__ac347c6ec4c4a48e3b0353f0868cc212d">Text search parser name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145814905__r94661c62c7ba4ce0890fb5a5e54f0e1e"><td class="cellrowborder" valign="top" width="18.61%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001145814905__ab8c550362e1f446a92def60f899fa710">prsnamespace</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.66%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001145814905__af6afba4809ec443cb871227269fe8b5e">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.060000000000002%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001145814905__af96bd90604d6416ba7276fbcaf933059"><a href="dws_04_0600.html">PG_NAMESPACE</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.67%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001145814905__ab830d5214ad4404ea9d5386f05ae957c">OID of the namespace that contains the parser</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145814905__rb02fe3e2bf8b492cac7324cec71407d4"><td class="cellrowborder" valign="top" width="18.61%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001145814905__ae7cbf18c9e8b496c9ecee8790e785e93">prsstart</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.66%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001145814905__aebf83e5bc0ba444a8a2c3054537bcd4b">regproc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.060000000000002%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001145814905__a020d106f3d5446888452a6e91de69a77"><a href="dws_04_0608.html">PG_PROC</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.67%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001145814905__a99dd3b5906754c83bcf95914c64f533b">OID of the parser's startup function</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145814905__rccad26402016453c8ad1fba101188f5f"><td class="cellrowborder" valign="top" width="18.61%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001145814905__a295d2689f7234bab9f3bec32aca052e6">prstoken</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.66%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001145814905__a0b0d180fd0774a038d9cf6750ebda442">regproc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.060000000000002%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001145814905__aa8f666450fbc419aa9362acd1a16ba67"><a href="dws_04_0608.html">PG_PROC</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.67%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001145814905__a190a50a66884495eaf32e3389b34ca53">OID of the parser's next-token function</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145814905__ra4e26efb984a414c866b3cb0d3e8a437"><td class="cellrowborder" valign="top" width="18.61%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001145814905__adb3ce28ca400433593db43719ca4f527">prsend</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.66%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001145814905__acccdc96e5b864e248625833f71c2f095">regproc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.060000000000002%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001145814905__adf69fa731bbd440f9efa05ef67dac4b1"><a href="dws_04_0608.html">PG_PROC</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.67%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001145814905__abb1830d5ce914dde9fdbd2efe3a9c9ff">OID of the parser's shutdown function</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145814905__rd0a9e1a3227b4f5da173a7362afacf97"><td class="cellrowborder" valign="top" width="18.61%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001145814905__a795e176c6f204eb2a2de254bf236c854">prsheadline</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.66%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001145814905__af95129fb50e84937847ea6906b69e429">regproc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.060000000000002%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001145814905__a8c05ca1ec4484190b66e92b34e676283"><a href="dws_04_0608.html">PG_PROC</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.67%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001145814905__af1d3fc3d8100414c8f6d94d9f34d0bf1">OID of the parser's headline function</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145814905__r0ed0a4cf3be94c219831ef91dac27426"><td class="cellrowborder" valign="top" width="18.61%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001145814905__a76e0771e531a4c65b7b6700f6c75efc3">prslextype</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="11.66%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001145814905__a8fb3abbd220748f6a8b755bf9f68a6a3">regproc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.060000000000002%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001145814905__a225c1abeb6914e1f8c3485d53ac97f5a"><a href="dws_04_0608.html">PG_PROC</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="42.67%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001145814905__a2960e6509c6b4d6cb497aabe3d164300">OID of the parser's lextype 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>
|
|
|