The pg_am table stores information about index access methods. There is one row for each index access method supported by the system.

    columntypereferencesdescription
    oidoid Row identifier (hidden attribute; must be explicitly selected)
    amnamename Name of the access method
    amstrategiesint2 Number of operator strategies for this access method, or zero if the access method does not have a fixed set of operator strategies
    amsupportint2 Number of support routines for this access method
    amcanorderboolean Does the access method support ordered scans sorted by the indexed column’s value?
    amcanorderbyopboolean Does the access method support ordered scans sorted by the result of an operator on the indexed column?
    amcanbackwardboolean Does the access method support backward scanning?
    amcanuniqueboolean Does the access method support unique indexes?
    amcanmulticolboolean Does the access method support multicolumn indexes?
    amoptionalkeyboolean Does the access method support a scan without any constraint for the first index column?
    amsearcharrayboolean Does the access method support ScalarArrayOpExpr searches?
    amsearchnullsboolean Does the access method support IS NULL/NOT NULL searches?
    amstorageboolean Can index storage data type differ from column data type?
    amclusterableboolean Can an index of this type be clustered on?
    ampredlocksboolean Does an index of this type manage fine-grained predicae locks?
    amkeytypeoidpg_type.oidType of data stored in index, or zero if not a fixed type
    aminsertregprocpg_proc.oid“Insert this tuple” function
    ambeginscanregprocpg_proc.oid“Prepare for index scan” function
    amgettupleregprocpg_proc.oid“Next valid tuple” function, or zero if none
    amgetbitmapregprocpg_proc.oid“Fetch all tuples” function, or zero if none
    amrescanregprocpg_proc.oid“(Re)start index scan” function
    amendscanregprocpg_proc.oid“Clean up after index scan” function
    ammarkposregprocpg_proc.oid“Mark current scan position” function
    amrestrposregprocpg_proc.oid“Restore marked scan position” function
    ambuildregprocpg_proc.oid“Build new index” function
    ambuildemptyregprocpg_proc.oid“Build empty index” function
    ambulkdeleteregprocpg_proc.oidBulk-delete function
    amvacuumcleanupregprocpg_proc.oidPost-VACUUM cleanup function
    amcanreturnregprocpg_proc.oidFunction to check whether index supports index-only scans, or zero if none
    amcostestimateregprocpg_proc.oidFunction to estimate cost of an index scan
    amoptionsregprocpg_proc.oidFunction to parse and validate reloptions for an index

    Parent topic: System Catalogs Definitions