Header And Logo

PostgreSQL
| The world's most advanced open source database.

Defines | Typedefs | Functions | Variables

pg_depend.h File Reference

#include "catalog/genbki.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.

Defines

#define DependRelationId   2608
#define Natts_pg_depend   7
#define Anum_pg_depend_classid   1
#define Anum_pg_depend_objid   2
#define Anum_pg_depend_objsubid   3
#define Anum_pg_depend_refclassid   4
#define Anum_pg_depend_refobjid   5
#define Anum_pg_depend_refobjsubid   6
#define Anum_pg_depend_deptype   7

Typedefs

typedef FormData_pg_dependForm_pg_depend

Functions

 CATALOG (pg_depend, 2608) BKI_WITHOUT_OIDS

Variables

 FormData_pg_depend

Define Documentation

#define Anum_pg_depend_classid   1
#define Anum_pg_depend_deptype   7

Definition at line 74 of file pg_depend.h.

Referenced by recordMultipleDependencies().

#define Anum_pg_depend_objid   2
#define Anum_pg_depend_objsubid   3
#define Anum_pg_depend_refclassid   4
#define Anum_pg_depend_refobjid   5
#define Anum_pg_depend_refobjsubid   6
#define DependRelationId   2608
#define Natts_pg_depend   7

Definition at line 67 of file pg_depend.h.


Typedef Documentation

Definition at line 61 of file pg_depend.h.


Function Documentation

CATALOG ( pg_depend  ,
2608   
)

Definition at line 31 of file pg_depend.h.

{
    /*
     * Identification of the dependent (referencing) object.
     *
     * These fields are all zeroes for a DEPENDENCY_PIN entry.
     */
    Oid         classid;        /* OID of table containing object */
    Oid         objid;          /* OID of object itself */
    int32       objsubid;       /* column number, or 0 if not used */

    /*
     * Identification of the independent (referenced) object.
     */
    Oid         refclassid;     /* OID of table containing object */
    Oid         refobjid;       /* OID of object itself */
    int32       refobjsubid;    /* column number, or 0 if not used */

    /*
     * Precise semantics of the relationship are specified by the deptype
     * field.  See DependencyType in catalog/dependency.h.
     */
    char        deptype;        /* see codes in dependency.h */
} FormData_pg_depend;


Variable Documentation

Definition at line 54 of file pg_depend.h.