PostgreSQL Source Code git master
Loading...
Searching...
No Matches
pg_amop.h File Reference
#include "catalog/genbki.h"
#include "catalog/pg_amop_d.h"
Include dependency graph for pg_amop.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_amop, 2602, AccessMethodOperatorRelationId)
 
 DECLARE_UNIQUE_INDEX (pg_amop_fam_strat_index, 2653, AccessMethodStrategyIndexId, pg_amop, btree(amopfamily oid_ops, amoplefttype oid_ops, amoprighttype oid_ops, amopstrategy int2_ops))
 
 DECLARE_UNIQUE_INDEX (pg_amop_opr_fam_index, 2654, AccessMethodOperatorIndexId, pg_amop, btree(amopopr oid_ops, amoppurpose char_ops, amopfamily oid_ops))
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_amop_oid_index, 2756, AccessMethodOperatorOidIndexId, pg_amop, btree(oid oid_ops))
 
 MAKE_SYSCACHE (AMOPSTRATEGY, pg_amop_fam_strat_index, 64)
 
 MAKE_SYSCACHE (AMOPOPID, pg_amop_opr_fam_index, 64)
 

Variables

END_CATALOG_STRUCT typedef FormData_pg_amopForm_pg_amop
 
 FormData_pg_amop
 

Function Documentation

◆ CATALOG()

Definition at line 56 of file pg_amop.h.

57{
58 Oid oid; /* oid */
59
60 /* the index opfamily this entry is for */
62
63 /* operator's left input data type */
65
66 /* operator's right input data type */
68
69 /* operator strategy number */
71
72 /* is operator for 's'earch or 'o'rdering? */
74
75 /* the operator's pg_operator OID */
77
78 /* the index access method this entry is for */
80
81 /* ordering opfamily OID, or 0 if search op */
int16_t int16
Definition c.h:583
#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_amop
Definition pg_amop.h:83
unsigned int Oid
static int fb(int x)

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

◆ DECLARE_UNIQUE_INDEX() [1/2]

◆ DECLARE_UNIQUE_INDEX() [2/2]

DECLARE_UNIQUE_INDEX ( pg_amop_opr_fam_index  ,
2654  ,
AccessMethodOperatorIndexId  ,
pg_amop  ,
btree(amopopr oid_ops, amoppurpose char_ops, amopfamily oid_ops  
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_amop_oid_index  ,
2756  ,
AccessMethodOperatorOidIndexId  ,
pg_amop  ,
btree(oid oid_ops  
)

◆ MAKE_SYSCACHE() [1/2]

MAKE_SYSCACHE ( AMOPOPID  ,
pg_amop_opr_fam_index  ,
64   
)

◆ MAKE_SYSCACHE() [2/2]

MAKE_SYSCACHE ( AMOPSTRATEGY  ,
pg_amop_fam_strat_index  ,
64   
)

Variable Documentation

◆ Form_pg_amop

◆ FormData_pg_amop

FormData_pg_amop

Definition at line 83 of file pg_amop.h.