]> begriffs open source - ai-pg/blob - full-docs/txt/catalog-pg-amproc.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / catalog-pg-amproc.txt
1
2 52.5. pg_amproc #
3
4    The catalog pg_amproc stores information about support functions
5    associated with access method operator families. There is one row for
6    each support function belonging to an operator family.
7
8    Table 52.5. pg_amproc Columns
9
10    Column Type
11
12    Description
13
14    oid oid
15
16    Row identifier
17
18    amprocfamily oid (references pg_opfamily.oid)
19
20    The operator family this entry is for
21
22    amproclefttype oid (references pg_type.oid)
23
24    Left-hand input data type of associated operator
25
26    amprocrighttype oid (references pg_type.oid)
27
28    Right-hand input data type of associated operator
29
30    amprocnum int2
31
32    Support function number
33
34    amproc regproc (references pg_proc.oid)
35
36    OID of the function
37
38    The usual interpretation of the amproclefttype and amprocrighttype
39    fields is that they identify the left and right input types of the
40    operator(s) that a particular support function supports. For some
41    access methods these match the input data type(s) of the support
42    function itself, for others not. There is a notion of “default” support
43    functions for an index, which are those with amproclefttype and
44    amprocrighttype both equal to the index operator class's opcintype.