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

Go to the source code of this file.

Typedefs

typedef FormData_pg_opclassForm_pg_opclass
 

Functions

 CATALOG (pg_opclass, 2616, OperatorClassRelationId)
 

Variables

 FormData_pg_opclass
 

Typedef Documentation

◆ Form_pg_opclass

Definition at line 83 of file pg_opclass.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_opclass  ,
2616  ,
OperatorClassRelationId   
)

Definition at line 49 of file pg_opclass.h.

References BKI_DEFAULT, and BKI_LOOKUP.

50 {
51  Oid oid; /* oid */
52 
53  /* index access method opclass is for */
54  Oid opcmethod BKI_LOOKUP(pg_am);
55 
56  /* name of this opclass */
57  NameData opcname;
58 
59  /* namespace of this opclass */
60  Oid opcnamespace BKI_DEFAULT(PGNSP);
61 
62  /* opclass owner */
63  Oid opcowner BKI_DEFAULT(PGUID);
64 
65  /* containing operator family */
66  Oid opcfamily BKI_LOOKUP(pg_opfamily);
67 
68  /* type of data indexed by opclass */
69  Oid opcintype BKI_LOOKUP(pg_type);
70 
71  /* T if opclass is default for opcintype */
72  bool opcdefault BKI_DEFAULT(t);
73 
74  /* type of data in index, or InvalidOid */
75  Oid opckeytype BKI_DEFAULT(0) BKI_LOOKUP(pg_type);
FormData_pg_opclass
Definition: pg_opclass.h:76
unsigned int Oid
Definition: postgres_ext.h:31
#define BKI_DEFAULT(value)
Definition: genbki.h:35
Definition: c.h:604
#define BKI_LOOKUP(catalog)
Definition: genbki.h:42

Variable Documentation

◆ FormData_pg_opclass

FormData_pg_opclass

Definition at line 76 of file pg_opclass.h.