Header And Logo

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

Defines | Typedefs | Functions | Variables

pg_shdepend.h File Reference

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

Defines

#define SharedDependRelationId   1214
#define Natts_pg_shdepend   7
#define Anum_pg_shdepend_dbid   1
#define Anum_pg_shdepend_classid   2
#define Anum_pg_shdepend_objid   3
#define Anum_pg_shdepend_objsubid   4
#define Anum_pg_shdepend_refclassid   5
#define Anum_pg_shdepend_refobjid   6
#define Anum_pg_shdepend_deptype   7

Typedefs

typedef FormData_pg_shdependForm_pg_shdepend

Functions

 CATALOG (pg_shdepend, 1214) BKI_SHARED_RELATION BKI_WITHOUT_OIDS

Variables

 FormData_pg_shdepend

Define Documentation

#define Anum_pg_shdepend_classid   2

Definition at line 72 of file pg_shdepend.h.

Referenced by shdepAddDependency(), shdepChangeDep(), and shdepDropDependency().

#define Anum_pg_shdepend_dbid   1
#define Anum_pg_shdepend_deptype   7

Definition at line 77 of file pg_shdepend.h.

Referenced by shdepAddDependency(), and shdepChangeDep().

#define Anum_pg_shdepend_objid   3

Definition at line 73 of file pg_shdepend.h.

Referenced by shdepAddDependency(), shdepChangeDep(), and shdepDropDependency().

#define Anum_pg_shdepend_objsubid   4

Definition at line 74 of file pg_shdepend.h.

Referenced by shdepAddDependency(), shdepChangeDep(), and shdepDropDependency().

#define Anum_pg_shdepend_refclassid   5
#define Anum_pg_shdepend_refobjid   6
#define Natts_pg_shdepend   7

Definition at line 70 of file pg_shdepend.h.

#define SharedDependRelationId   1214

Typedef Documentation

Definition at line 64 of file pg_shdepend.h.


Function Documentation

CATALOG ( pg_shdepend  ,
1214   
)

Definition at line 31 of file pg_shdepend.h.

{
    /*
     * Identification of the dependent (referencing) object.
     *
     * These fields are all zeroes for a DEPENDENCY_PIN entry.  Also, dbid can
     * be zero to denote a shared object.
     */
    Oid         dbid;           /* OID of database containing object */
    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.  This is always
     * a shared object, so we need no database ID field.  We don't bother with
     * a sub-object ID either.
     */
    Oid         refclassid;     /* OID of table containing object */
    Oid         refobjid;       /* OID of object itself */

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


Variable Documentation

Definition at line 57 of file pg_shdepend.h.