PostgreSQL Source Code  git master
pg_am.h File Reference
#include "catalog/genbki.h"
Include dependency graph for pg_am.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AccessMethodRelationId   2601
 
#define Natts_pg_am   3
 
#define Anum_pg_am_amname   1
 
#define Anum_pg_am_amhandler   2
 
#define Anum_pg_am_amtype   3
 
#define AMTYPE_INDEX   'i' /* index access method */
 
#define BTREE_AM_OID   403
 
#define HASH_AM_OID   405
 
#define GIST_AM_OID   783
 
#define GIN_AM_OID   2742
 
#define SPGIST_AM_OID   4000
 
#define BRIN_AM_OID   3580
 

Typedefs

typedef FormData_pg_amForm_pg_am
 

Functions

 CATALOG (pg_am, 2601)
 
 DATA (insert OID=403(btree bthandler i))
 
 DESCR ("b-tree index access method")
 
 DESCR ("hash index access method")
 
 DESCR ("GiST index access method")
 
 DESCR ("GIN index access method")
 
 DESCR ("SP-GiST index access method")
 
 DESCR ("block range index (BRIN) access method")
 

Variables

 FormData_pg_am
 

Macro Definition Documentation

◆ AccessMethodRelationId

#define AccessMethodRelationId   2601

◆ AMTYPE_INDEX

#define AMTYPE_INDEX   'i' /* index access method */

◆ Anum_pg_am_amhandler

#define Anum_pg_am_amhandler   2

Definition at line 54 of file pg_am.h.

Referenced by CreateAccessMethod().

◆ Anum_pg_am_amname

#define Anum_pg_am_amname   1

Definition at line 53 of file pg_am.h.

Referenced by CreateAccessMethod().

◆ Anum_pg_am_amtype

#define Anum_pg_am_amtype   3

Definition at line 55 of file pg_am.h.

Referenced by CreateAccessMethod().

◆ BRIN_AM_OID

#define BRIN_AM_OID   3580

Definition at line 85 of file pg_am.h.

Referenced by brin_desummarize_range(), brin_summarize_range(), and pgstat_relation().

◆ BTREE_AM_OID

◆ GIN_AM_OID

#define GIN_AM_OID   2742

Definition at line 79 of file pg_am.h.

Referenced by gin_clean_pending_list(), and pgstat_relation().

◆ GIST_AM_OID

#define GIST_AM_OID   783

Definition at line 76 of file pg_am.h.

Referenced by pgstat_relation().

◆ HASH_AM_OID

◆ Natts_pg_am

#define Natts_pg_am   3

Definition at line 52 of file pg_am.h.

Referenced by CreateAccessMethod().

◆ SPGIST_AM_OID

#define SPGIST_AM_OID   4000

Definition at line 82 of file pg_am.h.

Referenced by pgstat_relation().

Typedef Documentation

◆ Form_pg_am

Definition at line 46 of file pg_am.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_am  ,
2601   
)

Definition at line 34 of file pg_am.h.

35 {
36  NameData amname; /* access method name */
37  regproc amhandler; /* handler function */
38  char amtype; /* see AMTYPE_xxx constants below */
Definition: c.h:551
FormData_pg_am
Definition: pg_am.h:39
Oid regproc
Definition: c.h:452

◆ DATA()

DATA ( insert  OID = 403(btree bthandler i))

◆ DESCR() [1/6]

DESCR ( "b-tree index access method"  )

◆ DESCR() [2/6]

DESCR ( "hash index access method"  )

◆ DESCR() [3/6]

DESCR ( "GiST index access method"  )

◆ DESCR() [4/6]

DESCR ( "GIN index access method"  )

◆ DESCR() [5/6]

DESCR ( "SP-GiST index access method"  )

◆ DESCR() [6/6]

DESCR ( "block range index (BRIN) access method"  )

Variable Documentation

◆ FormData_pg_am

FormData_pg_am

Definition at line 39 of file pg_am.h.