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

Go to the source code of this file.

Macros

#define PgShdescriptionToastTable   2846
 
#define PgShdescriptionToastIndex   2847
 
#define SharedDescriptionObjIndexId   2397
 

Typedefs

typedef FormData_pg_shdescriptionForm_pg_shdescription
 

Functions

 CATALOG (pg_shdescription, 2396, SharedDescriptionRelationId) BKI_SHARED_RELATION
 
 DECLARE_TOAST (pg_shdescription, 2846, 2847)
 
 DECLARE_UNIQUE_INDEX_PKEY (pg_shdescription_o_c_index, 2397, on pg_shdescription using btree(objoid oid_ops, classoid oid_ops))
 
 DECLARE_FOREIGN_KEY ((classoid), pg_class,(oid))
 

Variables

 FormData_pg_shdescription
 

Macro Definition Documentation

◆ PgShdescriptionToastIndex

#define PgShdescriptionToastIndex   2847

Definition at line 60 of file pg_shdescription.h.

Referenced by IsSharedRelation().

◆ PgShdescriptionToastTable

#define PgShdescriptionToastTable   2846

Definition at line 59 of file pg_shdescription.h.

Referenced by IsSharedRelation().

◆ SharedDescriptionObjIndexId

#define SharedDescriptionObjIndexId   2397

Definition at line 63 of file pg_shdescription.h.

Referenced by CreateSharedComments(), DeleteSharedComments(), and IsSharedRelation().

Typedef Documentation

◆ Form_pg_shdescription

Function Documentation

◆ CATALOG()

CATALOG ( pg_shdescription  ,
2396  ,
SharedDescriptionRelationId   
)

Definition at line 41 of file pg_shdescription.h.

References BKI_FORCE_NOT_NULL.

42 {
43  Oid objoid; /* OID of object itself */
44  Oid classoid; /* OID of table containing object */
45 
46 #ifdef CATALOG_VARLEN /* variable-length fields start here */
47  text description BKI_FORCE_NOT_NULL; /* description of object */
48 #endif
FormData_pg_shdescription
unsigned int Oid
Definition: postgres_ext.h:31
#define BKI_FORCE_NOT_NULL
Definition: genbki.h:33
Definition: c.h:621

◆ DECLARE_FOREIGN_KEY()

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

◆ DECLARE_TOAST()

DECLARE_TOAST ( pg_shdescription  ,
2846  ,
2847   
)

◆ DECLARE_UNIQUE_INDEX_PKEY()

DECLARE_UNIQUE_INDEX_PKEY ( pg_shdescription_o_c_index  ,
2397  ,
on pg_shdescription using   btreeobjoid oid_ops, classoid oid_ops 
)

Variable Documentation

◆ FormData_pg_shdescription

FormData_pg_shdescription

Definition at line 49 of file pg_shdescription.h.