このページを編集する際は、[[編集に関する方針]]に従ってください。
*概要 [#wc9c7632]
-対象:8.1.4
-言語:C
-[[postgresql-8.1.4/src/include/access/tupdesc.h]]にて定義
-データ型TupleConstrを、以下のメンバを持つ構造体として定義。
--defvalを、以下のメンバを持つ構造体AttrDefaultへのポインタとして定義。
---adnumを、AttrNumber(int16(signed shortの別名)の別名))として定義。
---adbinを、charへのポインタとして定義。
--checkを、以下のメンバを持つ構造体ConstrCheckへのポインタとして定義。
---ccnameを、charへのポインタとして定義。
---ccbinを、charへのポインタとして定義。
--num_defvalを、uint16(unsigned shortの別名)として定義。
--num_checkを、uint16(unsigned shortの別名)として定義。
--has_not_nullを、bool(charの別名)として定義。
*実装 [#d452f4be]
typedef struct tupleConstr
{
AttrDefault *defval; /* array */
-以下のメンバを持つ構造体へのポインタ。詳細は[[AttrDefault/postgresql-8.1.4]]参照。
--adnumを、AttrNumber(int16(signed shortの別名)の別名))として定義。
--adbinを、charへのポインタとして定義。
ConstrCheck *check; /* array */
-以下のメンバを持つ構造体へのポインタ。詳細は[[ConstrCheck/postgresql-8.1.4]]参照。
--ccnameを、charへのポインタとして定義。
--ccbinを、charへのポインタとして定義。
uint16 num_defval;
-unsigned shortの別名。詳細は[[uint16/postgresql-8.1.4]]参照。
uint16 num_check;
-unsigned shortの別名。詳細は[[uint16/postgresql-8.1.4]]参照。
bool has_not_null;
-charの別名。詳細は[[bool/postgresql-8.1.4]]参照。
} TupleConstr;
*備考 [#s34b0869]
/* This structure contains constraints of a tuple */
*履歴 [#i7bae846]
-作者:[[testnoda:http://d.hatena.ne.jp/testnoda/about]]
-作者:[[testnoda/ページ作者]]
-日付:2006/9/13
|更新日|更新者|更新内容|
||||
*コメント [#u278a8a3]
#comment