Summary
The catalog pg_amproc stores information about support functions associated with access method operator families. There is one row for each support function belonging to an operator family.
(Description quoted from the official PostgreSQL documentation.)
Columns
The pg_amproc system catalog exposes the following columns (names, types and descriptions are taken verbatim from the PostgreSQL documentation):
oidoid
Row identifieramprocfamilyoidreferencespg_opfamily.oid
The operator family this entry is foramproclefttypeoidreferencespg_type.oid
Left-hand input data type of associated operatoramprocrighttypeoidreferencespg_type.oid
Right-hand input data type of associated operatoramprocnumint2
Support function numberamprocregprocreferencespg_proc.oid
OID of the function
Related catalogs
This object references the following other system catalogs:
amprocfamily→pg_opfamilyamproclefttype→pg_typeamproc→pg_proc
Version applicability
Present in PostgreSQL 17, 18, 19 (verified against each release’s documentation). This is a long-standing system object that also exists in earlier PostgreSQL releases.
Related & references
Reference: PostgreSQL documentation — pg_amproc.