23 #include "catalog/pg_attrdef_d.h"
30 CATALOG(pg_attrdef,2604,AttrDefaultRelationId)
53 DECLARE_UNIQUE_INDEX(pg_attrdef_adrelid_adnum_index, 2656, AttrDefaultIndexId, pg_attrdef, btree(adrelid oid_ops, adnum int2_ops));
60 Node *expr,
bool is_internal,
61 bool add_column_mode);
64 bool complain,
bool internal);
#define BKI_LOOKUP(catalog)
#define BKI_FORCE_NOT_NULL
DECLARE_UNIQUE_INDEX_PKEY(pg_attrdef_oid_index, 2657, AttrDefaultOidIndexId, pg_attrdef, btree(oid oid_ops))
FormData_pg_attrdef * Form_pg_attrdef
void RemoveAttrDefaultById(Oid attrdefId)
Oid GetAttrDefaultOid(Oid relid, AttrNumber attnum)
CATALOG(pg_attrdef, 2604, AttrDefaultRelationId)
DECLARE_FOREIGN_KEY((adrelid, adnum), pg_attribute,(attrelid, attnum))
DECLARE_TOAST(pg_attrdef, 2830, 2831)
Oid StoreAttrDefault(Relation rel, AttrNumber attnum, Node *expr, bool is_internal, bool add_column_mode)
ObjectAddress GetAttrDefaultColumnAddress(Oid attrdefoid)
void RemoveAttrDefault(Oid relid, AttrNumber attnum, DropBehavior behavior, bool complain, bool internal)
DECLARE_UNIQUE_INDEX(pg_attrdef_adrelid_adnum_index, 2656, AttrDefaultIndexId, pg_attrdef, btree(adrelid oid_ops, adnum int2_ops))