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

Go to the source code of this file.

Typedefs

typedef FormData_pg_shdependForm_pg_shdepend
 

Functions

 CATALOG (pg_shdepend, 1214, SharedDependRelationId) BKI_SHARED_RELATION BKI_WITHOUT_OIDS
 

Variables

 FormData_pg_shdepend
 

Typedef Documentation

◆ Form_pg_shdepend

Function Documentation

◆ CATALOG()

CATALOG ( pg_shdepend  ,
1214  ,
SharedDependRelationId   
)

Definition at line 37 of file pg_shdepend.h.

38 {
39  /*
40  * Identification of the dependent (referencing) object.
41  *
42  * These fields are all zeroes for a DEPENDENCY_PIN entry. Also, dbid can
43  * be zero to denote a shared object.
44  */
45  Oid dbid; /* OID of database containing object */
46  Oid classid; /* OID of table containing object */
47  Oid objid; /* OID of object itself */
48  int32 objsubid; /* column number, or 0 if not used */
49 
50  /*
51  * Identification of the independent (referenced) object. This is always
52  * a shared object, so we need no database ID field. We don't bother with
53  * a sub-object ID either.
54  */
55  Oid refclassid; /* OID of table containing object */
56  Oid refobjid; /* OID of object itself */
57 
58  /*
59  * Precise semantics of the relationship are specified by the deptype
60  * field. See SharedDependencyType in catalog/dependency.h.
61  */
62  char deptype; /* see codes in dependency.h */
unsigned int Oid
Definition: postgres_ext.h:31
signed int int32
Definition: c.h:313
FormData_pg_shdepend
Definition: pg_shdepend.h:63

Variable Documentation

◆ FormData_pg_shdepend

FormData_pg_shdepend

Definition at line 63 of file pg_shdepend.h.