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

Go to the source code of this file.

Typedefs

typedef FormData_pg_amprocForm_pg_amproc
 

Functions

 CATALOG (pg_amproc, 2603, AccessMethodProcedureRelationId)
 
 DECLARE_UNIQUE_INDEX (pg_amproc_fam_proc_index, 2655, AccessMethodProcedureIndexId, pg_amproc, btree(amprocfamily oid_ops, amproclefttype oid_ops, amprocrighttype oid_ops, amprocnum int2_ops))
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_amproc_oid_index, 2757, AccessMethodProcedureOidIndexId, pg_amproc, btree(oid oid_ops))
 
 MAKE_SYSCACHE (AMPROCNUM, pg_amproc_fam_proc_index, 16)
 

Variables

 FormData_pg_amproc
 

Typedef Documentation

◆ Form_pg_amproc

Definition at line 68 of file pg_amproc.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_amproc  ,
2603  ,
AccessMethodProcedureRelationId   
)

Definition at line 43 of file pg_amproc.h.

44 {
45  Oid oid; /* oid */
46 
47  /* the index opfamily this entry is for */
48  Oid amprocfamily BKI_LOOKUP(pg_opfamily);
49 
50  /* procedure's left input data type */
51  Oid amproclefttype BKI_LOOKUP(pg_type);
52 
53  /* procedure's right input data type */
54  Oid amprocrighttype BKI_LOOKUP(pg_type);
55 
56  /* support procedure index */
57  int16 amprocnum;
58 
59  /* OID of the proc */
60  regproc amproc BKI_LOOKUP(pg_proc);
signed short int16
Definition: c.h:480
Oid regproc
Definition: c.h:636
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
FormData_pg_amproc
Definition: pg_amproc.h:61
unsigned int Oid
Definition: postgres_ext.h:31

References BKI_LOOKUP.

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_amproc_fam_proc_index  ,
2655  ,
AccessMethodProcedureIndexId  ,
pg_amproc  ,
btree(amprocfamily oid_ops, amproclefttype oid_ops, amprocrighttype oid_ops, amprocnum int2_ops)   
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_amproc_oid_index  ,
2757  ,
AccessMethodProcedureOidIndexId  ,
pg_amproc  ,
btree(oid oid_ops)   
)

◆ MAKE_SYSCACHE()

MAKE_SYSCACHE ( AMPROCNUM  ,
pg_amproc_fam_proc_index  ,
16   
)

Variable Documentation

◆ FormData_pg_amproc

FormData_pg_amproc

Definition at line 61 of file pg_amproc.h.