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

Go to the source code of this file.

Typedefs

typedef FormData_pg_dependForm_pg_depend
 

Functions

 CATALOG (pg_depend, 2608, DependRelationId)
 
 DECLARE_INDEX (pg_depend_depender_index, 2673, DependDependerIndexId, on pg_depend using btree(classid oid_ops, objid oid_ops, objsubid int4_ops))
 
 DECLARE_INDEX (pg_depend_reference_index, 2674, DependReferenceIndexId, on pg_depend using btree(refclassid oid_ops, refobjid oid_ops, refobjsubid int4_ops))
 

Variables

 FormData_pg_depend
 

Typedef Documentation

◆ Form_pg_depend

Definition at line 72 of file pg_depend.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_depend  ,
2608  ,
DependRelationId   
)

Definition at line 42 of file pg_depend.h.

References BKI_LOOKUP.

43 {
44  /*
45  * Identification of the dependent (referencing) object.
46  */
47  Oid classid BKI_LOOKUP(pg_class); /* OID of table containing
48  * object */
49  Oid objid; /* OID of object itself */
50  int32 objsubid; /* column number, or 0 if not used */
51 
52  /*
53  * Identification of the independent (referenced) object.
54  */
55  Oid refclassid BKI_LOOKUP(pg_class); /* OID of table containing
56  * object */
57  Oid refobjid; /* OID of object itself */
58  int32 refobjsubid; /* column number, or 0 if not used */
59 
60  /*
61  * Precise semantics of the relationship are specified by the deptype
62  * field. See DependencyType in catalog/dependency.h.
63  */
64  char deptype; /* see codes in dependency.h */
unsigned int Oid
Definition: postgres_ext.h:31
signed int int32
Definition: c.h:429
#define BKI_LOOKUP(catalog)
Definition: genbki.h:46
FormData_pg_depend
Definition: pg_depend.h:65

◆ DECLARE_INDEX() [1/2]

DECLARE_INDEX ( pg_depend_depender_index  ,
2673  ,
DependDependerIndexId  ,
on pg_depend using   btreeclassid oid_ops, objid oid_ops, objsubid int4_ops 
)

◆ DECLARE_INDEX() [2/2]

DECLARE_INDEX ( pg_depend_reference_index  ,
2674  ,
DependReferenceIndexId  ,
on pg_depend using   btreerefclassid oid_ops, refobjid oid_ops, refobjsubid int4_ops 
)

Variable Documentation

◆ FormData_pg_depend

FormData_pg_depend

Definition at line 65 of file pg_depend.h.

Referenced by recordMultipleDependencies().