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.

Macros

#define AmNameIndexId   2651
 
#define AmOidIndexId   2652
 

Typedefs

typedef FormData_pg_amForm_pg_am
 

Functions

 CATALOG (pg_am, 2601, AccessMethodRelationId)
 
 DECLARE_UNIQUE_INDEX (pg_am_name_index, 2651, on pg_am using btree(amname name_ops))
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_am_oid_index, 2652, on pg_am using btree(oid oid_ops))
 

Variables

 FormData_pg_am
 

Macro Definition Documentation

◆ AmNameIndexId

#define AmNameIndexId   2651

Definition at line 51 of file pg_am.h.

◆ AmOidIndexId

#define AmOidIndexId   2652

Definition at line 53 of file pg_am.h.

Referenced by CreateAccessMethod().

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.

References BKI_LOOKUP.

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;
unsigned int Oid
Definition: postgres_ext.h:31
Definition: c.h:675
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
FormData_pg_am
Definition: pg_am.h:41
Oid regproc
Definition: c.h:584

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_am_name_index  ,
2651  ,
on pg_am using   btreeamname name_ops 
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_am_oid_index  ,
2652  ,
on pg_am using   btreeoid oid_ops 
)

Variable Documentation

◆ FormData_pg_am

FormData_pg_am

Definition at line 41 of file pg_am.h.