pg_am

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

Table 1. pg_catalog.pg_am

columntypereferencesdescription
amnamename Name of the access method
amstrategiessmallint Number of operator strategies for this access method
amsupportsmallint Number of support routines for this access method
amorderstrategysmallint Zero if the index offers no sort order, otherwise the strategy number of the strategy operator that describes the sort order
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?
amindexnullsboolean Does the access method support null index entries?
amstorageboolean Can index storage data type differ from column data type?
amclusterableboolean Can an index of this type be clustered on?
aminsertregprocpg_proc.oid“Insert this tuple” function
ambeginscanregprocpg_proc.oid“Start new scan” function
amgettupleregprocpg_proc.oid“Next valid tuple” function
amgetmultiregprocpg_proc.oid“Fetch multiple tuples” function
amrescanregprocpg_proc.oid“Restart this scan” function
amendscanregprocpg_proc.oid“End this 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
ambulkdeleteregprocpg_proc.oidBulk-delete function
amvacuumcleanupregprocpg_proc.oidPost-VACUUM cleanup function
amcostestimateregprocpg_proc.oidFunction to estimate cost of an index scan
amoptionsregprocpg_proc.oidFunction to parse and validate reloptions for an index