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

Functions

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

Variables

END_CATALOG_STRUCT typedef FormData_pg_dependForm_pg_depend
 
 FormData_pg_depend
 

Function Documentation

◆ CATALOG()

BEGIN_CATALOG_STRUCT CATALOG ( pg_depend  ,
2608  ,
DependRelationId   
)

Definition at line 44 of file pg_depend.h.

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

References BKI_LOOKUP, and fb().

◆ DECLARE_INDEX() [1/2]

DECLARE_INDEX ( pg_depend_depender_index  ,
2673  ,
DependDependerIndexId  ,
pg_depend  ,
btree(classid oid_ops, objid oid_ops, objsubid int4_ops  
)

◆ DECLARE_INDEX() [2/2]

DECLARE_INDEX ( pg_depend_reference_index  ,
2674  ,
DependReferenceIndexId  ,
pg_depend  ,
btree(refclassid oid_ops, refobjid oid_ops, refobjsubid int4_ops  
)

Variable Documentation

◆ Form_pg_depend

◆ FormData_pg_depend

FormData_pg_depend

Definition at line 67 of file pg_depend.h.

Referenced by recordMultipleDependencies().