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

Go to the source code of this file.

Typedefs

typedef FormData_pg_descriptionForm_pg_description
 

Functions

 CATALOG (pg_description, 2609, DescriptionRelationId)
 
 DECLARE_TOAST (pg_description, 2834, 2835)
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_description_o_c_o_index, 2675, DescriptionObjIndexId, pg_description, btree(objoid oid_ops, classoid oid_ops, objsubid int4_ops))
 
 DECLARE_FOREIGN_KEY ((classoid), pg_class,(oid))
 

Variables

 FormData_pg_description
 

Typedef Documentation

◆ Form_pg_description

Definition at line 64 of file pg_description.h.

Function Documentation

◆ CATALOG()

CATALOG ( pg_description  ,
2609  ,
DescriptionRelationId   
)

Definition at line 48 of file pg_description.h.

49 {
50  Oid objoid; /* OID of object itself */
51  Oid classoid; /* OID of table containing object */
52  int32 objsubid; /* column number, or 0 if not used */
53 
54 #ifdef CATALOG_VARLEN /* variable-length fields start here */
55  text description BKI_FORCE_NOT_NULL; /* description of object */
56 #endif
signed int int32
Definition: c.h:481
#define BKI_FORCE_NOT_NULL
Definition: genbki.h:33
FormData_pg_description
unsigned int Oid
Definition: postgres_ext.h:31
Definition: c.h:674
const char * description

References BKI_FORCE_NOT_NULL, and description.

◆ DECLARE_FOREIGN_KEY()

DECLARE_FOREIGN_KEY ( (classoid)  ,
pg_class  ,
(oid)   
)

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_description  ,
2834  ,
2835   
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_description_o_c_o_index  ,
2675  ,
DescriptionObjIndexId  ,
pg_description  ,
btree(objoid oid_ops, classoid oid_ops, objsubid int4_ops)   
)

Variable Documentation

◆ FormData_pg_description

FormData_pg_description

Definition at line 57 of file pg_description.h.