]> begriffs open source - ai-pg/blob - full-docs/src/sgml/html/catalog-pg-amproc.html
WIP: toc builder
[ai-pg] / full-docs / src / sgml / html / catalog-pg-amproc.html
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>52.5. pg_amproc</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /><link rel="prev" href="catalog-pg-amop.html" title="52.4. pg_amop" /><link rel="next" href="catalog-pg-attrdef.html" title="52.6. pg_attrdef" /></head><body id="docContent" class="container-fluid col-10"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="5" align="center">52.5. <code class="structname">pg_amproc</code></th></tr><tr><td width="10%" align="left"><a accesskey="p" href="catalog-pg-amop.html" title="52.4. pg_amop">Prev</a> </td><td width="10%" align="left"><a accesskey="u" href="catalogs.html" title="Chapter 52. System Catalogs">Up</a></td><th width="60%" align="center">Chapter 52. System Catalogs</th><td width="10%" align="right"><a accesskey="h" href="index.html" title="PostgreSQL 18.0 Documentation">Home</a></td><td width="10%" align="right"> <a accesskey="n" href="catalog-pg-attrdef.html" title="52.6. pg_attrdef">Next</a></td></tr></table><hr /></div><div class="sect1" id="CATALOG-PG-AMPROC"><div class="titlepage"><div><div><h2 class="title" style="clear: both">52.5. <code class="structname">pg_amproc</code> <a href="#CATALOG-PG-AMPROC" class="id_link">#</a></h2></div></div></div><a id="id-1.10.4.7.2" class="indexterm"></a><p>
3    The catalog <code class="structname">pg_amproc</code> stores information about
4    support functions associated with access method operator families.  There
5    is one row for each support function belonging to an operator family.
6   </p><div class="table" id="id-1.10.4.7.4"><p class="title"><strong>Table 52.5. <code class="structname">pg_amproc</code> Columns</strong></p><div class="table-contents"><table class="table" summary="pg_amproc Columns" border="1"><colgroup><col /></colgroup><thead><tr><th class="catalog_table_entry"><p class="column_definition">
7        Column Type
8       </p>
9       <p>
10        Description
11       </p></th></tr></thead><tbody><tr><td class="catalog_table_entry"><p class="column_definition">
12        <code class="structfield">oid</code> <code class="type">oid</code>
13       </p>
14       <p>
15        Row identifier
16       </p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
17        <code class="structfield">amprocfamily</code> <code class="type">oid</code>
18        (references <a class="link" href="catalog-pg-opfamily.html" title="52.35. pg_opfamily"><code class="structname">pg_opfamily</code></a>.<code class="structfield">oid</code>)
19       </p>
20       <p>
21        The operator family this entry is for
22       </p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
23        <code class="structfield">amproclefttype</code> <code class="type">oid</code>
24        (references <a class="link" href="catalog-pg-type.html" title="52.64. pg_type"><code class="structname">pg_type</code></a>.<code class="structfield">oid</code>)
25       </p>
26       <p>
27        Left-hand input data type of associated operator
28       </p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
29        <code class="structfield">amprocrighttype</code> <code class="type">oid</code>
30        (references <a class="link" href="catalog-pg-type.html" title="52.64. pg_type"><code class="structname">pg_type</code></a>.<code class="structfield">oid</code>)
31       </p>
32       <p>
33        Right-hand input data type of associated operator
34       </p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
35        <code class="structfield">amprocnum</code> <code class="type">int2</code>
36       </p>
37       <p>
38        Support function number
39       </p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
40        <code class="structfield">amproc</code> <code class="type">regproc</code>
41        (references <a class="link" href="catalog-pg-proc.html" title="52.39. pg_proc"><code class="structname">pg_proc</code></a>.<code class="structfield">oid</code>)
42       </p>
43       <p>
44        OID of the function
45       </p></td></tr></tbody></table></div></div><br class="table-break" /><p>
46    The usual interpretation of the
47    <code class="structfield">amproclefttype</code> and <code class="structfield">amprocrighttype</code> fields
48    is that they identify the left and right input types of the operator(s)
49    that a particular support function supports.  For some access methods
50    these match the input data type(s) of the support function itself, for
51    others not.  There is a notion of <span class="quote">“<span class="quote">default</span>”</span> support functions for
52    an index, which are those with <code class="structfield">amproclefttype</code> and
53    <code class="structfield">amprocrighttype</code> both equal to the index operator class's
54    <code class="structfield">opcintype</code>.
55   </p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="catalog-pg-amop.html" title="52.4. pg_amop">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="catalogs.html" title="Chapter 52. System Catalogs">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="catalog-pg-attrdef.html" title="52.6. pg_attrdef">Next</a></td></tr><tr><td width="40%" align="left" valign="top">52.4. <code class="structname">pg_amop</code> </td><td width="20%" align="center"><a accesskey="h" href="index.html" title="PostgreSQL 18.0 Documentation">Home</a></td><td width="40%" align="right" valign="top"> 52.6. <code class="structname">pg_attrdef</code></td></tr></table></div></body></html>