]> begriffs open source - ai-pg/blob - full-docs/txt/catalog-pg-operator.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / catalog-pg-operator.txt
1
2 52.34. pg_operator #
3
4    The catalog pg_operator stores information about operators. See CREATE
5    OPERATOR and Section 36.14 for more information.
6
7    Table 52.34. pg_operator Columns
8
9    Column Type
10
11    Description
12
13    oid oid
14
15    Row identifier
16
17    oprname name
18
19    Name of the operator
20
21    oprnamespace oid (references pg_namespace.oid)
22
23    The OID of the namespace that contains this operator
24
25    oprowner oid (references pg_authid.oid)
26
27    Owner of the operator
28
29    oprkind char
30
31    b = infix operator (“both”), or l = prefix operator (“left”)
32
33    oprcanmerge bool
34
35    This operator supports merge joins
36
37    oprcanhash bool
38
39    This operator supports hash joins
40
41    oprleft oid (references pg_type.oid)
42
43    Type of the left operand (zero for a prefix operator)
44
45    oprright oid (references pg_type.oid)
46
47    Type of the right operand
48
49    oprresult oid (references pg_type.oid)
50
51    Type of the result (zero for a not-yet-defined “shell” operator)
52
53    oprcom oid (references pg_operator.oid)
54
55    Commutator of this operator (zero if none)
56
57    oprnegate oid (references pg_operator.oid)
58
59    Negator of this operator (zero if none)
60
61    oprcode regproc (references pg_proc.oid)
62
63    Function that implements this operator (zero for a not-yet-defined
64    “shell” operator)
65
66    oprrest regproc (references pg_proc.oid)
67
68    Restriction selectivity estimation function for this operator (zero if
69    none)
70
71    oprjoin regproc (references pg_proc.oid)
72
73    Join selectivity estimation function for this operator (zero if none)