# PG_OPERATOR
PG_OPERATOR系统表存储有关操作符的信息。
表1PG_OPERATOR字段 
| 名称           | 类型      | 引用                                                                                                   | 描述                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
|:---|:---|:---|:---|
| oid          | oid     | -                                                                                                    | 行标识符（隐含字段，必须明确选择）。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| oprname      | name    | -                                                                                                    | 操作符的名称。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| oprnamespace | oid     | [PG_NAMESPACE](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-0998.html).oid | 包含此操作符的名称空间的OID。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| oprowner     | oid     | [PG_AUTHID](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-0907.html).oid    | 操作符所有者。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| oprkind      | "char"  | -                                                                                                    | - b：表示中缀("两边")。  - l：表示前缀("左边")。  - r：表示后缀("右边")。   |
| oprcanmerge  | boolean                                            | -                                                                                                    | 这个操作符是否支持合并连接。 - t（true）：表示支持合并连接。  - f（false）：表示不支持合并连接。                                                                                                                                                                                                                                                                                                  |
| oprcanhash   | boolean | -                                                                                                    | 这个操作符是否支持Hash连接。 - t（true）：表示支持Hash连接。  - f（false）：表示不支持Hash连接。                                                                                                                                                                                                                                                                                     |
| oprleft      | oid     | [PG_TYPE](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-1022.html).oid      | 左操作数的类型。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| oprright     | oid     | [PG_TYPE](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-1022.html).oid      | 右操作数的类型。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| oprresult    | oid     | [PG_TYPE](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-1022.html).oid      | 结果类型。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| oprcom       | oid     | [PG_OPERATOR](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-1001.html).oid  | 如果存在的话，值为此操作符的交换符。不存在的话，值为0。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| oprnegate    | oid     | [PG_OPERATOR](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-1001.html).oid  | 如果存在的话，值为此操作符的反转器。不存在的话，值为0。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| oprcode      | regproc | [PG_PROC](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-1004.html).proname  | 实现这个操作符的函数。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| oprrest      | regproc | [PG_PROC](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-1004.html).proname  | 此操作符的约束选择性计算函数。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| oprjoin      | regproc | [PG_PROC](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-1004.html).proname  | 此操作符的连接选择性计算函数。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
   
