このページを編集する際は、編集に関する方針に従ってください。

概要

  1. nattsを、intとして定義。
  2. attrsを、Form_pg_attributeへのポインタとして定義。
  3. constrを、TupleConstrへのポインタとして定義。
  4. tdtypeidを、Oidとして定義。
  5. tdtypmodを、int32として定義。
  6. tdhasoidを、boolとして定義。

実装

typedef struct tupleDesc {

	int			natts;			/* number of attributes in the tuple */
	Form_pg_attribute *attrs;
	/* attrs[N] is a pointer to the description of Attribute Number N+1 */
	TupleConstr *constr;		/* constraints, or NULL if none */
	Oid			tdtypeid;		/* composite type ID for tuple type */
	int32		tdtypmod;		/* typmod for tuple type */
	bool		tdhasoid;		/* tuple has oid attribute in its header */

} *TupleDesc;

履歴

コメント



トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS