↑↓ 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.

Reading PG 18current·documented in 24 of 24 versions, 7.4 to 20

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

Columns 15

As listed in the PostgreSQL 18 manual.

ColumnTypeDescription / reference
oidoidNOT NULLRow identifier
oprnamenameNOT NULLName of the operator
oprnamespaceoidNOT NULLThe OID of the namespace that contains this operator
pg_namespace.oid
oprowneroidNOT NULLOwner of the operator
pg_authid.oid
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)
pg_type.oid
oprrightoidNOT NULLType of the right operand
pg_type.oid
oprresultoidNOT NULLType of the result (zero for a not-yet-defined “shell” operator)
pg_type.oid
oprcomoidNOT NULLCommutator of this operator (zero if none)
pg_operator.oid
oprnegateoidNOT NULLNegator of this operator (zero if none)
pg_operator.oid
oprcoderegprocNOT NULLFunction that implements this operator (zero for a not-yet-defined “shell” operator)
pg_proc.oid
oprrestregprocNOT NULLRestriction selectivity estimation function for this operator (zero if none)
pg_proc.oid
oprjoinregprocNOT NULLJoin selectivity estimation function for this operator (zero if none)
pg_proc.oid
Column history across versions
Version history 11
  1. 16 → 17 reworded
  2. 13 → 14 reworded
  3. 11 → 12 changed
  4. 10 → 11 reworded
  5. 9.6 → 10 reworded
  6. 9.5 → 9.6 reworded
  7. 8.4 → 9.0 reworded
  8. 8.2 → 8.3 changed
  9. 8.1 → 8.2 reworded
  10. 8.0 → 8.1 changed
  11. 7.4 → 8.0 reworded

Definition snapshot: english-manuals:cc8a2c02ffd08ed9eb4ec05c830… · English manual source