select open change scope Open full search

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

SYSTEM CATALOGS / SYSTEM CATALOGS

The catalog pg_operator stores information about operators.

Kind
System catalogs
Columns in this snapshot
15
Definition source
English manual

Columns 15

ColumnTypeDescription / reference
oidoidRow identifier
oprnamenameName of the operator
oprnamespaceoidThe OID of the namespace that contains this operator
pg_namespace.oid
oprowneroidOwner of the operator
pg_authid.oid
oprkindcharb = infix operator (“both”), or l = prefix operator (“left”)
oprcanmergeboolThis operator supports merge joins
oprcanhashboolThis operator supports hash joins
oprleftoidType of the left operand (zero for a prefix operator)
pg_type.oid
oprrightoidType of the right operand
pg_type.oid
oprresultoidType of the result (zero for a not-yet-defined “shell” operator)
pg_type.oid
oprcomoidCommutator of this operator (zero if none)
oprnegateoidNegator of this operator (zero if none)
oprcoderegprocFunction that implements this operator (zero for a not-yet-defined “shell” operator)
pg_proc.oid
oprrestregprocRestriction selectivity estimation function for this operator (zero if none)
pg_proc.oid
oprjoinregprocJoin selectivity estimation function for this operator (zero if none)
pg_proc.oid
Column history across versions
Version history 7
  1. PG 16 → 17changed
  2. PG 13 → 14changed
  3. PG 11 → 12changed
  4. PG 10 → 11changed
  5. PG 9.6 → 10changed
  6. PG 9.5 → 9.6changed
  7. PG 9.2 → 9.3changed

Definition snapshot: english-manuals:9b973cdf37ad2f1cba6c68a1c49… · English manual source