Header And Logo

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

Defines | Typedefs | Functions | Variables

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.

Defines

#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

Define 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 RemoveAttrDefault(), and StoreAttrDefault().

#define Anum_pg_attrdef_adrelid   1

Definition at line 54 of file pg_attrdef.h.

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

#define Anum_pg_attrdef_adsrc   4

Definition at line 57 of file pg_attrdef.h.

Referenced by StoreAttrDefault().

#define AttrDefaultRelationId   2604
#define Natts_pg_attrdef   4

Definition at line 53 of file pg_attrdef.h.


Typedef Documentation

Definition at line 47 of file pg_attrdef.h.


Function Documentation

CATALOG ( pg_attrdef  ,
2604   
)

Definition at line 31 of file pg_attrdef.h.

{
    Oid         adrelid;        /* OID of table containing attribute */
    int16       adnum;          /* attnum of attribute */

#ifdef CATALOG_VARLEN           /* variable-length fields start here */
    pg_node_tree adbin;         /* nodeToString representation of default */
    text        adsrc;          /* human-readable representation of default */
#endif
} FormData_pg_attrdef;


Variable Documentation

Definition at line 40 of file pg_attrdef.h.