↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / System Catalogs

pg_operator

The catalog pg_operator stores information about operators. See CREATE OPERATOR and Section 36.14 for more information.

English manual coverage begins with PostgreSQL 7.4. Source history and runtime observations have their own recorded version boundaries.

Reading PG 18·Select a recorded version

kind
catalog
lang
en
measured attributes
true
metadata release
18.6
runtime columns
oid, oprname, oprnamespace, oprowner, oprkind, oprcanmerge, oprcanhash, oprleft, oprright, oprresult, oprcom, oprnegate, oprcode, oprrest, oprjoin
runtime verified
false
source
english-manual

Definition PG 18

The catalog pg_operator stores information about operators. See CREATE OPERATOR and Section 36.14 for more information.

Catalog columns

ColumnTypeNullabilityDescription
oidoidNot nullRow identifier
oprnamenameNot nullName of the operator
oprnamespaceoidNot nullThe OID of the namespace that contains this operator
oprowneroidNot nullOwner of the operator
oprkindcharNot nullb = infix operator (“both”), or l = prefix operator (“left”)
oprcanmergeboolNot nullThis operator supports merge joins
oprcanhashboolNot nullThis operator supports hash joins
oprleftoidNot nullType of the left operand (zero for a prefix operator)
oprrightoidNot nullType of the right operand
oprresultoidNot nullType of the result (zero for a not-yet-defined “shell” operator)
oprcomoidNot nullCommutator of this operator (zero if none)
oprnegateoidNot nullNegator of this operator (zero if none)
oprcoderegprocNot nullFunction that implements this operator (zero for a not-yet-defined “shell” operator)
oprrestregprocNot nullRestriction selectivity estimation function for this operator (zero if none)
oprjoinregprocNot nullJoin selectivity estimation function for this operator (zero if none)

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · catalog-bilingual-repair:845601b6eef300a84d1a2f3985b826fe0f4b4ebefd17d44f389eb41f54d27177

Text language: en · catalog-bilingual-repair:845601b6eef300a84d1a2f3985b826fe0f4b4ebefd17d44f389eb41f54d27177