PostgreSQL Source Code git master
Loading...
Searching...
No Matches
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.

Functions

BEGIN_CATALOG_STRUCT 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

END_CATALOG_STRUCT typedef FormData_pg_amForm_pg_am
 
 FormData_pg_am
 

Function Documentation

◆ CATALOG()

BEGIN_CATALOG_STRUCT CATALOG ( pg_am  ,
2601  ,
AccessMethodRelationId   
)

Definition at line 31 of file pg_am.h.

32{
33 Oid oid; /* oid */
34
35 /* access method name */
36 NameData amname;
37
38 /* handler function */
39 regproc amhandler BKI_LOOKUP(pg_proc);
40
41 /* see AMTYPE_xxx constants below */
42 char amtype;
Oid regproc
Definition c.h:696
#define BKI_LOOKUP(catalog)
Definition genbki.h:65
FormData_pg_am
Definition pg_am.h:43
unsigned int Oid
static int fb(int x)
Definition c.h:793

References BKI_LOOKUP, and fb().

◆ 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

◆ Form_pg_am

◆ FormData_pg_am

FormData_pg_am

Definition at line 43 of file pg_am.h.