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

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

Variable Documentation

◆ FormData_pg_opclass

FormData_pg_opclass

Definition at line 74 of file pg_opclass.h.