PostgreSQL Source Code  git master
pg_am.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_am_d.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.

Typedefs

typedef FormData_pg_amForm_pg_am
 

Functions

 CATALOG (pg_am, 2601, AccessMethodRelationId)
 
 DECLARE_UNIQUE_INDEX (pg_am_name_index, 2651, AmNameIndexId, pg_am, btree(amname name_ops))
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_am_oid_index, 2652, AmOidIndexId, pg_am, btree(oid oid_ops))
 
 MAKE_SYSCACHE (AMNAME, pg_am_name_index, 4)
 
 MAKE_SYSCACHE (AMOID, pg_am_oid_index, 4)
 

Variables

 FormData_pg_am
 

Typedef Documentation

◆ Form_pg_am

Definition at line 48 of file pg_am.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_am  ,
2601  ,
AccessMethodRelationId   
)

Definition at line 29 of file pg_am.h.

30 {
31  Oid oid; /* oid */
32 
33  /* access method name */
34  NameData amname;
35 
36  /* handler function */
37  regproc amhandler BKI_LOOKUP(pg_proc);
38 
39  /* see AMTYPE_xxx constants below */
40  char amtype;
Oid regproc
Definition: c.h:636
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
FormData_pg_am
Definition: pg_am.h:41
unsigned int Oid
Definition: postgres_ext.h:31
Definition: c.h:728

References BKI_LOOKUP.

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_am_name_index  ,
2651  ,
AmNameIndexId  ,
pg_am  ,
btree(amname name_ops)   
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_am_oid_index  ,
2652  ,
AmOidIndexId  ,
pg_am  ,
btree(oid oid_ops)   
)

◆ MAKE_SYSCACHE() [1/2]

MAKE_SYSCACHE ( AMNAME  ,
pg_am_name_index  ,
 
)

◆ MAKE_SYSCACHE() [2/2]

MAKE_SYSCACHE ( AMOID  ,
pg_am_oid_index  ,
 
)

Variable Documentation

◆ FormData_pg_am

FormData_pg_am

Definition at line 41 of file pg_am.h.