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

161 lines
14 KiB
HTML

<a name="EN-US_TOPIC_0000001188482130"></a><a name="EN-US_TOPIC_0000001188482130"></a>
<h1 class="topictitle1">PG_OPERATOR</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001188482130__a5ca478c0ef9c4b2294e9736510a89034"><strong id="EN-US_TOPIC_0000001188482130__b863918216471">PG_OPERATOR</strong> records information about operators.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001188482130__t93f166233ff14720ba30c5e69b617cce" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_OPERATOR columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001188482130__r505678640f394ede844627c8e3969605"><th align="left" class="cellrowborder" valign="top" width="20.86%" id="mcps1.3.2.2.5.1.1"><p id="EN-US_TOPIC_0000001188482130__a407bb244eb15494b85df0e5069e6373a">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="12.97%" id="mcps1.3.2.2.5.1.2"><p id="EN-US_TOPIC_0000001188482130__acbad6aab1fc44dfa943fc7245e716df8">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="28.95%" id="mcps1.3.2.2.5.1.3"><p id="EN-US_TOPIC_0000001188482130__ae3dbb3fdf2ab43b99c422b7757a54580">Reference</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="37.22%" id="mcps1.3.2.2.5.1.4"><p id="EN-US_TOPIC_0000001188482130__aa84c5ba365a84601839f1d10d48d26ab">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001188482130__r427275ca8c904c9397f6fbea87e9645f"><td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188482130__a20c6ed3269d046919f22f22a53f00181">oid</p>
</td>
<td class="cellrowborder" valign="top" width="12.97%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188482130__a9b3ed364a8044b9ba5b2e96f5a69a9d6">oid</p>
</td>
<td class="cellrowborder" valign="top" width="28.95%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188482130__a024b28ca707d47c7b681a6c5eafbfc2f">-</p>
</td>
<td class="cellrowborder" valign="top" width="37.22%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188482130__a1f9f5f32b33044c2acd9045cb8ee5524">Row identifier (hidden attribute; must be explicitly selected)</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188482130__r1f5569a3bb5747a49716fcd89c289931"><td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188482130__a0418a393a5f24213acc24fe76b8c0add">oprname</p>
</td>
<td class="cellrowborder" valign="top" width="12.97%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188482130__a7a2a116605e543d9bc95a3b6a37a4bc0">name</p>
</td>
<td class="cellrowborder" valign="top" width="28.95%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188482130__a37cff6dccfca4b90ad4c453f457043d9">-</p>
</td>
<td class="cellrowborder" valign="top" width="37.22%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188482130__a23e80998bd804d22bf4ebda9c9f3207a">Name of the operator</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188482130__rfccaa7ae0f3b4630be06703aa5366163"><td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188482130__ae3620f5b04af4e208f98ed16eb6049d0">oprnamespace</p>
</td>
<td class="cellrowborder" valign="top" width="12.97%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188482130__a88f53e9881a54714a55320c7569e34cc">oid</p>
</td>
<td class="cellrowborder" valign="top" width="28.95%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188482130__ada6c1c2128c94e02902b72269eb80bd2"><a href="dws_04_0600.html">PG_NAMESPACE</a>.oid</p>
</td>
<td class="cellrowborder" valign="top" width="37.22%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188482130__a87d466a143d747b1950b43cbbd323346">OID of the namespace that contains this operator</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188482130__raf0364f42d9c4b4ba131e4fe179b2177"><td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188482130__a6fb130c1fcba42838f830fe8210ae9a3">oprowner</p>
</td>
<td class="cellrowborder" valign="top" width="12.97%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188482130__ae6ac6acd55d742d7b5b90f5797d0eb8e">oid</p>
</td>
<td class="cellrowborder" valign="top" width="28.95%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188482130__aa78fc2f30af64b128fa81171cef45701"><a href="dws_04_0574.html">PG_AUTHID</a>.oid</p>
</td>
<td class="cellrowborder" valign="top" width="37.22%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188482130__a5d22e67301454c5490c6c06caaf1e954">Owner of the operator</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188482130__r7eb656b920b047a8a2cefe10d269ec3e"><td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188482130__aa8ad3f802f8042d6bbe77c78657883ca">oprkind</p>
</td>
<td class="cellrowborder" valign="top" width="12.97%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188482130__a39662854de8549a395f74acc7d437cd9">"char"</p>
</td>
<td class="cellrowborder" valign="top" width="28.95%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188482130__a433e5280c3534bbe93110b2085b36e26">-</p>
</td>
<td class="cellrowborder" valign="top" width="37.22%" headers="mcps1.3.2.2.5.1.4 "><ul id="EN-US_TOPIC_0000001188482130__ud60ce3716ca64ef2922add702f08e706"><li id="EN-US_TOPIC_0000001188482130__l8dd97b37443e4bbd969130cde3bcfc09"><strong id="EN-US_TOPIC_0000001188482130__b842352706201049">b</strong>: infix ("both")</li><li id="EN-US_TOPIC_0000001188482130__lddaf928e61e6470ba456d94ccfe39fd6"><strong id="EN-US_TOPIC_0000001188482130__b842352706201054">l</strong>: prefix ("left")</li><li id="EN-US_TOPIC_0000001188482130__l5df162b8e8204cedad8341f8d298000f"><strong id="EN-US_TOPIC_0000001188482130__b84235270620115">r</strong>: postfix ("right")</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188482130__rd6b2b22fb59e4348a40a48edd59dd489"><td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188482130__a5727492625f04d22b3f93a3cb8e0b778">oprcanmerge</p>
</td>
<td class="cellrowborder" valign="top" width="12.97%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188482130__aff1c2a9bc8f643509b1e9ead30b56e63"><span id="EN-US_TOPIC_0000001188482130__text498943043613">boolean</span></p>
</td>
<td class="cellrowborder" valign="top" width="28.95%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188482130__aa52daf89112445a3a68b175937990c41">-</p>
</td>
<td class="cellrowborder" valign="top" width="37.22%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188482130__a95721bb50f014017b7a16ddd3c63420b">Whether the operator supports merge joins</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188482130__r75a2f5cd527e489c879eca252a3761b8"><td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188482130__a640dd2803ed64e299502e1cac8f91741">oprcanhash</p>
</td>
<td class="cellrowborder" valign="top" width="12.97%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188482130__afe74741bba974d6abbe2f72ff8c8bafc"><span id="EN-US_TOPIC_0000001188482130__text3284233103610">boolean</span></p>
</td>
<td class="cellrowborder" valign="top" width="28.95%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188482130__a290ec5bb962e46a0bef4315ca347bf20">-</p>
</td>
<td class="cellrowborder" valign="top" width="37.22%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188482130__aa04d9dba30d249aca3ad04cfec2e475a">Whether the operator supports hash joins</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188482130__rdea0b566ca454724aeebdd1315e3e7ab"><td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188482130__ad978f95d4aa14c6da92bc7f8abc934d1">oprleft</p>
</td>
<td class="cellrowborder" valign="top" width="12.97%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188482130__ade5638fa80be4d63b83fd5e135f3fd8f">oid</p>
</td>
<td class="cellrowborder" valign="top" width="28.95%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188482130__a3ceea60874ba4c67b1c86bda7d620039"><a href="dws_04_0629.html">PG_TYPE</a>.oid</p>
</td>
<td class="cellrowborder" valign="top" width="37.22%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188482130__a9e7fb824d9d14a21b1dfe8f9c1540a81">Type of the left operand</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188482130__rc28d14e447d14af58a05ba68ba7bfc65"><td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188482130__ae7338e251dfb4739aba6949a6cea0f52">oprright</p>
</td>
<td class="cellrowborder" valign="top" width="12.97%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188482130__a33b17fdc22084af3abc60233565303e3">oid</p>
</td>
<td class="cellrowborder" valign="top" width="28.95%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188482130__aab94ae98cd70423097908e67b70f2d4a"><a href="dws_04_0629.html">PG_TYPE</a>.oid</p>
</td>
<td class="cellrowborder" valign="top" width="37.22%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188482130__a223e9812ba1f482c99adcaf60b59f860">Type of the right operand</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188482130__re4ae2ea9e8d040f58e6c94ab472bc464"><td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188482130__a1d31103a36004120ab933cc3d9adf2ed">oprresult</p>
</td>
<td class="cellrowborder" valign="top" width="12.97%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188482130__ae134d1de674941ee8f1b0375480a5b2c">oid</p>
</td>
<td class="cellrowborder" valign="top" width="28.95%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188482130__a5174f9ba35124e10b50ca7f97cfcf7b8"><a href="dws_04_0629.html">PG_TYPE</a>.oid</p>
</td>
<td class="cellrowborder" valign="top" width="37.22%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188482130__a6e24d9ebde9b402db4f63f4cf8dde249">Type of the result</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188482130__r5cfd51b5e4424b6db700779a704953d6"><td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188482130__aa25a78dcf3124548860e8894dff22f63">oprcom</p>
</td>
<td class="cellrowborder" valign="top" width="12.97%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188482130__a89c41d2913cf4760bb7f4186137c5c42">oid</p>
</td>
<td class="cellrowborder" valign="top" width="28.95%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188482130__a7d9d34a2384541869cc05e5c89c25d86"><a href="dws_04_0604.html">PG_OPERATOR</a>.oid</p>
</td>
<td class="cellrowborder" valign="top" width="37.22%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188482130__ac670909ef6d44c4db7ee9ce49ec9b248">Commutator of this operator, if any</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188482130__rb964d93106544043a0f6bd3c55b799a2"><td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188482130__aa8043580836b469388a468441efb21cd">oprnegate</p>
</td>
<td class="cellrowborder" valign="top" width="12.97%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188482130__adbc17ce6f83e4b11978c038254a6d1c6">oid</p>
</td>
<td class="cellrowborder" valign="top" width="28.95%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188482130__a0af11f83e97745c297ca1c528982afe7"><a href="dws_04_0604.html">PG_OPERATOR</a>.oid</p>
</td>
<td class="cellrowborder" valign="top" width="37.22%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188482130__a29e913ff8f3c454b948987ee3facb823">Negator of this operator, if any</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188482130__rd697eed6afe54a128916bc1ae6585df4"><td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188482130__a623d898aee9e432091c7103ae7688e05">oprcode</p>
</td>
<td class="cellrowborder" valign="top" width="12.97%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188482130__ac82c3d393ff04b70bfdba7ec838d5c48">regproc</p>
</td>
<td class="cellrowborder" valign="top" width="28.95%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188482130__ab3666701a1044db08d5a1e2047e40a5b"><a href="dws_04_0608.html">PG_PROC</a>.oid</p>
</td>
<td class="cellrowborder" valign="top" width="37.22%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188482130__aead4d60099d64ffcb782ae83b63660be">Function that implements this operator</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188482130__red5a4e9420404d5babd29fec44a54666"><td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188482130__a65ad3443b455478090804e614bf30837">oprrest</p>
</td>
<td class="cellrowborder" valign="top" width="12.97%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188482130__a49815f4e6360481eb2763ad01355ec69">regproc</p>
</td>
<td class="cellrowborder" valign="top" width="28.95%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188482130__aedc1cfd9e36742ab9381d238f923c5eb"><a href="dws_04_0608.html">PG_PROC</a>.oid</p>
</td>
<td class="cellrowborder" valign="top" width="37.22%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188482130__a6c85363c02674933b182a0d3fbed3981">Restriction selectivity estimation function for this operator</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188482130__refb70feceff048678ade1b07c97a9134"><td class="cellrowborder" valign="top" width="20.86%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188482130__a127e43c3b33a4df9bfad0794f8cb1bcc">oprjoin</p>
</td>
<td class="cellrowborder" valign="top" width="12.97%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188482130__a9de5e7239bda44af9356e377de5ad13d">regproc</p>
</td>
<td class="cellrowborder" valign="top" width="28.95%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188482130__a69ce4df6f3bc4760af8890bee2c3e7c1"><a href="dws_04_0608.html">PG_PROC</a>.oid</p>
</td>
<td class="cellrowborder" valign="top" width="37.22%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188482130__ae5d4470879ac48f1a02307caf2a61347">Join selectivity estimation function for this operator</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>