The catalog pg_operator stores information about operators. See CREATE OPERATOR and Section 33.11 for details on these operator parameters.
Table 43-23. pg_operator Columns
Name Type References Description oprname name Name of the operator oprnamespace oid pg_namespace .oid The OID of the namespace that contains this operator oprowner int4 pg_shadow .usesysidOwner of the operator oprkind char b = infix ("both" ), l = prefix ("left" ), r = postfix ("right" ) oprcanhash bool This operator supports hash joins oprleft oid pg_type .oidType of the left operand oprright oid pg_type .oidType of the right operand oprresult oid pg_type .oidType of the result oprcom oid pg_operator .oidCommutator of this operator, if any oprnegate oid pg_operator .oidNegator of this operator, if any oprlsortop oid pg_operator .oid If this operator supports merge joins, the operator that sorts the type of the left-hand operand (L<L ) oprrsortop oid pg_operator .oid If this operator supports merge joins, the operator that sorts the type of the right-hand operand (R<R ) oprltcmpop oid pg_operator .oid If this operator supports merge joins, the less-than operator that compares the left and right operand types (L<R ) oprgtcmpop oid pg_operator .oid If this operator supports merge joins, the greater-than operator that compares the left and right operand types (L>R ) oprcode regproc pg_proc .oidFunction that implements this operator oprrest regproc pg_proc .oidRestriction selectivity estimation function for this operator oprjoin regproc pg_proc .oidJoin selectivity estimation function for this operator
Unused column contain zeroes, for example oprleft is zero for a prefix operator.
Who's Online
Guest Users: 10
Deliver First Class Web Sites: 101 Essential Checklists Want to learn how to make your web sites usable and accessible? Want to ensure that your sites meet current best practice, without spending hours trawling through incomprehensible specifications and recommendations from dozens of different books, research papers, and web sites? Want to make sure that the sites you build are "right the first time," requiring no costly redevelopments?
More Sample Chapters