#include "catalog/genbki.h"
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_shdepend * | Form_pg_shdepend |
Functions | |
CATALOG (pg_shdepend, 1214) BKI_SHARED_RELATION BKI_WITHOUT_OIDS | |
Variables | |
FormData_pg_shdepend |
#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 |
Definition at line 71 of file pg_shdepend.h.
Referenced by copyTemplateDependencies(), dropDatabaseDependencies(), shdepAddDependency(), shdepChangeDep(), and shdepDropDependency().
#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 |
Definition at line 75 of file pg_shdepend.h.
Referenced by checkSharedDependencies(), isSharedObjectPinned(), shdepAddDependency(), shdepChangeDep(), shdepDropOwned(), and shdepReassignOwned().
#define Anum_pg_shdepend_refobjid 6 |
Definition at line 76 of file pg_shdepend.h.
Referenced by checkSharedDependencies(), isSharedObjectPinned(), shdepAddDependency(), shdepChangeDep(), shdepDropOwned(), and shdepReassignOwned().
#define Natts_pg_shdepend 7 |
Definition at line 70 of file pg_shdepend.h.
#define SharedDependRelationId 1214 |
Definition at line 29 of file pg_shdepend.h.
Referenced by changeDependencyOnOwner(), checkSharedDependencies(), copyTemplateDependencies(), deleteSharedDependencyRecordsFor(), dropDatabaseDependencies(), IsSharedRelation(), recordSharedDependencyOn(), shdepDropOwned(), shdepReassignOwned(), and updateAclDependencies().
typedef FormData_pg_shdepend* Form_pg_shdepend |
Definition at line 64 of file pg_shdepend.h.
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;
Definition at line 57 of file pg_shdepend.h.