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

Functions

BEGIN_CATALOG_STRUCT CATALOG (pg_opclass, 2616, OperatorClassRelationId)
 
 DECLARE_UNIQUE_INDEX (pg_opclass_am_name_nsp_index, 2686, OpclassAmNameNspIndexId, pg_opclass, btree(opcmethod oid_ops, opcname name_ops, opcnamespace oid_ops))
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_opclass_oid_index, 2687, OpclassOidIndexId, pg_opclass, btree(oid oid_ops))
 
 MAKE_SYSCACHE (CLAAMNAMENSP, pg_opclass_am_name_nsp_index, 8)
 
 MAKE_SYSCACHE (CLAOID, pg_opclass_oid_index, 8)
 

Variables

END_CATALOG_STRUCT typedef FormData_pg_opclassForm_pg_opclass
 
 FormData_pg_opclass
 

Function Documentation

◆ CATALOG()

Definition at line 51 of file pg_opclass.h.

52{
53 Oid oid; /* oid */
54
55 /* index access method opclass is for */
56 Oid opcmethod BKI_LOOKUP(pg_am);
57
58 /* name of this opclass */
60
61 /* namespace of this opclass */
63
64 /* opclass owner */
66
67 /* containing operator family */
68 Oid opcfamily BKI_LOOKUP(pg_opfamily);
69
70 /* type of data indexed by opclass */
71 Oid opcintype BKI_LOOKUP(pg_type);
72
73 /* T if opclass is default for opcintype */
74 bool opcdefault BKI_DEFAULT(t);
75
76 /* type of data in index, or InvalidOid if same as input column type */
#define BKI_LOOKUP(catalog)
Definition genbki.h:65
#define BKI_DEFAULT(value)
Definition genbki.h:54
#define BKI_LOOKUP_OPT(catalog)
Definition genbki.h:66
FormData_pg_opclass
Definition pg_opclass.h:78
unsigned int Oid
static int fb(int x)
Definition c.h:793

References BKI_DEFAULT, BKI_LOOKUP, BKI_LOOKUP_OPT, and fb().

◆ DECLARE_UNIQUE_INDEX()

DECLARE_UNIQUE_INDEX ( pg_opclass_am_name_nsp_index  ,
2686  ,
OpclassAmNameNspIndexId  ,
pg_opclass  ,
btree(opcmethod oid_ops, opcname name_ops, opcnamespace oid_ops  
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_opclass_oid_index  ,
2687  ,
OpclassOidIndexId  ,
pg_opclass  ,
btree(oid oid_ops  
)

◆ MAKE_SYSCACHE() [1/2]

MAKE_SYSCACHE ( CLAAMNAMENSP  ,
pg_opclass_am_name_nsp_index  ,
 
)

◆ MAKE_SYSCACHE() [2/2]

MAKE_SYSCACHE ( CLAOID  ,
pg_opclass_oid_index  ,
 
)

Variable Documentation

◆ Form_pg_opclass

◆ FormData_pg_opclass

FormData_pg_opclass

Definition at line 78 of file pg_opclass.h.