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>
109 lines
11 KiB
HTML
109 lines
11 KiB
HTML
<a name="EN-US_TOPIC_0000001188323588"></a><a name="EN-US_TOPIC_0000001188323588"></a>
|
|
|
|
<h1 class="topictitle1">PG_AMOP</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001188323588__en-us_topic_0059777617_p141021342306"><strong id="EN-US_TOPIC_0000001188323588__b214432882613">PG_AMOP</strong> records information about operators associated with access method operator families. There is one row for each operator that is a member of an operator family. A family member can be either a search operator or an ordering operator. An operator can appear in more than one family, but cannot appear in more than one search position nor more than one ordering position within a family.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001188323588__t49cf6e4894584b9e8ffc7977be1fd5ed" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_AMOP columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001188323588__r49620eb8b5524348a7deb204d11df757"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.2.5.1.1"><p id="EN-US_TOPIC_0000001188323588__a2b8492fa056341d08adb037caa822430">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="14.66%" id="mcps1.3.2.2.5.1.2"><p id="EN-US_TOPIC_0000001188323588__aeb1f53c7aedd4c019a1e6cdeb43f0eb5">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26.69%" id="mcps1.3.2.2.5.1.3"><p id="EN-US_TOPIC_0000001188323588__a86a6f46cb0e445d3992cb3b362035a7f">Reference</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.650000000000006%" id="mcps1.3.2.2.5.1.4"><p id="EN-US_TOPIC_0000001188323588__aaf389c5a72ca49f086e0e5cc67f7da66">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001188323588__r2c81fc012f764f528a04acc3c94bd7ec"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188323588__aa30d417c80b340d4a57c56b39f43ec20">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.66%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188323588__a7383918e1b854663b8170dbd7d552e27">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.69%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188323588__a5d1e8e81c376481f9bf573dc0724fe0b">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.650000000000006%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188323588__a351f52738b9947249130910b253f5f7a">Row identifier (hidden attribute; must be explicitly selected)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188323588__r1eed13b6fdd84a6c899acab59fb4f0c0"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188323588__a9ad2fadd8f374feda1ce44762b03f2ad">amopfamily</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.66%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188323588__af0b9271447e448a08d1c4bad64d96c75">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.69%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188323588__a1b213459393c4e5ebcbc8574b20a4611"><a href="dws_04_0605.html">PG_OPFAMILY</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.650000000000006%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188323588__a87d93e15489348ea9d62b04bc54bde8d">Operator family this entry is for</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188323588__rb6f2eac4d1314d0bb4e34450cc3d2462"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188323588__ac1cd4327dbbd49de8614183851ec8935">amoplefttype</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.66%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188323588__a74c3bd393a644dfd84b2e26e7ae4eefc">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.69%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188323588__a476e5a8bf71748cd8a75122eb2a431b5"><a href="dws_04_0629.html">PG_TYPE</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.650000000000006%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188323588__ae3e99b55efbb4c07ae8f61806357231d">Left-hand input data type of operator</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188323588__redcc17071ae94d8b9634a7d77b436c74"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188323588__aff284472339b437a89268bfa13087105">amoprighttype</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.66%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188323588__affc34d2706114af6a2a7b24bf514082c">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.69%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188323588__a9a86e82635f14116bd69d0226719097d"><a href="dws_04_0629.html">PG_TYPE</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.650000000000006%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188323588__a48447a597389412cb3bdbd61cbb8f183">Right-hand input data type of operator</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188323588__rdf273221180142a58823ceba16345c45"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188323588__a7f769be6323e4f48bf9d4b278f10c5a6">amopstrategy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.66%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188323588__ae128c16669fd46a3821cdc0b54c7a596">smallint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.69%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188323588__a516f80f6452b48f0b8c4ff5f7ae0173c">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.650000000000006%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188323588__afab67e4f5e0341219930dffd85843cd0">Number of operator strategies</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188323588__rd920339a10a640a39ac10799af361083"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188323588__a0264511b8710424084dd2283b575f7c7">amoppurpose</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.66%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188323588__aa07306d4aa64414d9f71bff870764646">"char"</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.69%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188323588__a83758c3283914e38b30b82cdc0a801d8">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.650000000000006%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188323588__a1274f982878241b7bb05e86ec2206b6a">Operator purpose, either <strong id="EN-US_TOPIC_0000001188323588__b842352706155531">s</strong> for search or <strong id="EN-US_TOPIC_0000001188323588__b842352706155536">o</strong> for ordering</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188323588__r9ff6462473ec48ce937348658f12bcbc"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188323588__a2d55b829ef184b6f8e1d0a70ddcd7660">amopopr</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.66%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188323588__a3e106ad1499d43f881e7ae70d9e4ae81">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.69%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188323588__ae555d305df474cbfa7b2e9d5d9e8086c"><a href="dws_04_0604.html">PG_OPERATOR</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.650000000000006%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188323588__a1907544fb58f4268aaa369d2bec2a2a8">OID of the operator</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188323588__r3e5654a21d2d4f3588f202889c7d054f"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188323588__a1d96cfa218d74b4490e336a2a784c3d4">amopmethod</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.66%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188323588__a35887deaaa314599951f7b873d5246eb">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.69%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188323588__acb09b887801447dfb76334a7d0c41d0e"><a href="dws_04_0569.html">PG_AM</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.650000000000006%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188323588__a6acf7d566e584584afe5175290ac6f46">Index access method the operator family is for</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188323588__ra7faf84e308e4e19bfac5423335ee9c0"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001188323588__ad6a446f12464408e8e12d1e7e3c33dd6">amopsortfamily</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="14.66%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001188323588__a94d4c5bc2ca54a7d84c99919c6893836">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.69%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001188323588__affdfb4e75819480ca01d93a80a67dcae"><a href="dws_04_0605.html">PG_OPFAMILY</a>.oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.650000000000006%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001188323588__a8395817ec1f34350bb10477e5c331123">The btree operator family this entry sorts according to, if an ordering operator; zero if a search operator</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000001188323588__ad05cb3eb999041e98ebc48cf60cced64">A "search" operator entry indicates that an index of this operator family can be searched to find all rows satisfying <strong id="EN-US_TOPIC_0000001188323588__b84235270616119">WHERE indexed_column operator constant</strong>. Obviously, such an operator must return a Boolean value, and its left-hand input type must match the index's column data type.</p>
|
|
<p id="EN-US_TOPIC_0000001188323588__a4dccdacefa364863b8d342ecdcec6ddb">An "ordering" operator entry indicates that an index of this operator family can be scanned to return rows in the order represented by <strong id="EN-US_TOPIC_0000001188323588__b84235270616337">ORDER BY indexed_column operator constant</strong>. Such an operator could return any sortable data type, though again its left-hand input type must match the index's column data type. The exact semantics of the <strong id="EN-US_TOPIC_0000001188323588__b84235270616814">ORDER BY</strong> are specified by the <strong id="EN-US_TOPIC_0000001188323588__b84235270616821">amopsortfamily</strong> column, which must reference a btree operator family for the operator's result type. </p>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0561.html">System Catalogs</a></div>
|
|
</div>
|
|
</div>
|
|
|