]> begriffs open source - ai-pg/blob - full-docs/txt/catalog-pg-am.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / catalog-pg-am.txt
1
2 52.3. pg_am #
3
4    The catalog pg_am stores information about relation access methods.
5    There is one row for each access method supported by the system.
6    Currently, only tables and indexes have access methods. The
7    requirements for table and index access methods are discussed in detail
8    in Chapter 62 and Chapter 63 respectively.
9
10    Table 52.3. pg_am Columns
11
12    Column Type
13
14    Description
15
16    oid oid
17
18    Row identifier
19
20    amname name
21
22    Name of the access method
23
24    amhandler regproc (references pg_proc.oid)
25
26    OID of a handler function that is responsible for supplying information
27    about the access method
28
29    amtype char
30
31    t = table (including materialized views), i = index.
32
33 Note
34
35    Before PostgreSQL 9.6, pg_am contained many additional columns
36    representing properties of index access methods. That data is now only
37    directly visible at the C code level. However,
38    pg_index_column_has_property() and related functions have been added to
39    allow SQL queries to inspect index access method properties; see
40    Table 9.76.