postgresql_16:8.2.35 pg_opfamily
PostgreSQL 16 > Internals > System Catalogs > pg_opfamily
The catalog pg_opfamily defines operator families. Each operator family is a collection of operators and associated support routines that implement the semantics specified for a particular index access method. Furthermore, the operators in a family are all “compatible”, in a way that is specified by the access method. The operator family concept allows cross-data-type operators to be used with indexes and to be reasoned about using knowledge of access method semantics.
Operator families are described at length in (see postgresql_16:6.1.16).
| Column Type Description | | --- | | oid oid Row identifier | | opfmethod oid (references pg_am (see postgresql_16:8.2.3).oid) Index access method operator family is for | | opfname name Name of this operator family | | opfnamespace oid (references pg_namespace (see postgresql_16:8.2.32).oid) Namespace of this operator family | | opfowner oid (references pg_authid (see postgresql_16:8.2.8).oid) Owner of the operator family |
The majority of the information defining an operator family is not in its pg_opfamily row, but in the associated rows in pg_amop (see postgresql_16:8.2.4), pg_amproc (see postgresql_16:8.2.5), and pg_opclass (see postgresql_16:8.2.33).