PostgreSQL Source Code  git master
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.

Typedefs

typedef FormData_pg_amopForm_pg_amop
 

Functions

 CATALOG (pg_amop, 2602, AccessMethodOperatorRelationId)
 

Variables

 FormData_pg_amop
 

Typedef Documentation

◆ Form_pg_amop

Definition at line 88 of file pg_amop.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_amop  ,
2602  ,
AccessMethodOperatorRelationId   
)

Definition at line 54 of file pg_amop.h.

References BKI_DEFAULT, and BKI_LOOKUP.

55 {
56  Oid oid; /* oid */
57 
58  /* the index opfamily this entry is for */
59  Oid amopfamily BKI_LOOKUP(pg_opfamily);
60 
61  /* operator's left input data type */
62  Oid amoplefttype BKI_LOOKUP(pg_type);
63 
64  /* operator's right input data type */
65  Oid amoprighttype BKI_LOOKUP(pg_type);
66 
67  /* operator strategy number */
68  int16 amopstrategy;
69 
70  /* is operator for 's'earch or 'o'rdering? */
71  char amoppurpose BKI_DEFAULT(s);
72 
73  /* the operator's pg_operator OID */
74  Oid amopopr BKI_LOOKUP(pg_operator);
75 
76  /* the index access method this entry is for */
77  Oid amopmethod BKI_LOOKUP(pg_am);
78 
79  /* ordering opfamily OID, or 0 if search op */
80  Oid amopsortfamily BKI_DEFAULT(0) BKI_LOOKUP(pg_opfamily);
signed short int16
Definition: c.h:346
unsigned int Oid
Definition: postgres_ext.h:31
#define BKI_DEFAULT(value)
Definition: genbki.h:35
FormData_pg_amop
Definition: pg_amop.h:81
#define BKI_LOOKUP(catalog)
Definition: genbki.h:42

Variable Documentation

◆ FormData_pg_amop

FormData_pg_amop

Definition at line 81 of file pg_amop.h.