PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
pg_attrdef.h File Reference
#include "catalog/genbki.h"
Include dependency graph for pg_attrdef.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AttrDefaultRelationId   2604
 
#define Natts_pg_attrdef   4
 
#define Anum_pg_attrdef_adrelid   1
 
#define Anum_pg_attrdef_adnum   2
 
#define Anum_pg_attrdef_adbin   3
 
#define Anum_pg_attrdef_adsrc   4
 

Typedefs

typedef FormData_pg_attrdefForm_pg_attrdef
 

Functions

 CATALOG (pg_attrdef, 2604)
 

Variables

 FormData_pg_attrdef
 

Macro Definition Documentation

#define Anum_pg_attrdef_adbin   3

Definition at line 56 of file pg_attrdef.h.

Referenced by AttrDefaultFetch(), and StoreAttrDefault().

#define Anum_pg_attrdef_adnum   2

Definition at line 55 of file pg_attrdef.h.

Referenced by get_object_address_attrdef(), RemoveAttrDefault(), and StoreAttrDefault().

#define Anum_pg_attrdef_adrelid   1
#define Anum_pg_attrdef_adsrc   4

Definition at line 57 of file pg_attrdef.h.

Referenced by StoreAttrDefault().

#define Natts_pg_attrdef   4

Definition at line 53 of file pg_attrdef.h.

Typedef Documentation

Function Documentation

CATALOG ( pg_attrdef  ,
2604   
)

Definition at line 31 of file pg_attrdef.h.

32 {
33  Oid adrelid; /* OID of table containing attribute */
34  int16 adnum; /* attnum of attribute */
35 
36 #ifdef CATALOG_VARLEN /* variable-length fields start here */
37  pg_node_tree adbin; /* nodeToString representation of default */
38  text adsrc; /* human-readable representation of default */
39 #endif
signed short int16
Definition: c.h:252
unsigned int Oid
Definition: postgres_ext.h:31
FormData_pg_attrdef
Definition: pg_attrdef.h:40
Definition: c.h:434

Variable Documentation

FormData_pg_attrdef

Definition at line 40 of file pg_attrdef.h.