PostgreSQL解読室:
MemoryContextData/postgresql-8.1.4
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
このページを編集する際は、[[編集に関する方針]]に従ってく...
*概要 [#s51b00d5]
-対象:8.1.4
-言語:C
-宣言・定義:[[postgresql-8.1.4/src/include/nodes/memnode...
-下記メンバを持つ構造体。
--NodeTag列挙型の変数type
--下記メンバを持つ構造体型MemoryContextMethodsへのポイン...
---void*型の関数ポインタalloc
---void型の関数ポインタfree_p
---void*型の関数ポインタrealloc
---void型の関数ポインタinit
---void型の関数ポインタreset
---void型の関数ポインタdelete
---Size型の関数ポインタget_chunk_space
---bool型の関数ポインタis_empty
---void型の関数ポインタstats
---void型の関数ポインタcheck
--MemoryContextDataへのポインタparent(再帰的使用)
--MemoryContextDataへのポインタfirstchild(再帰的使用)
--MemoryContextDataへのポインタnextchild(再帰的使用)
--char型へのポインタname
*実装 [#e661f607]
typedef struct MemoryContextData
{
NodeTag type; /* identifies exact kind of context */
-[[NodeTag/postgresql-8.1.4]] -- 列挙型(定義している定数...
MemoryContextMethods *methods; /* virtual function tabl...
-[[MemoryContextMethods/postgresql-8.1.4]] -- 下記メンバ...
--void*型の関数ポインタalloc
--void型の関数ポインタfree_p
--void*型の関数ポインタrealloc
--void型の関数ポインタinit
--void型の関数ポインタreset
--void型の関数ポインタdelete
--Size型の関数ポインタget_chunk_space
--bool型の関数ポインタis_empty
--void型の関数ポインタstats
--void型の関数ポインタcheck
MemoryContext parent; /* NULL if no parent (toplevel co...
-[[MemoryContext/postgresql-8.1.4]] -- MemoryContextData...
MemoryContext firstchild; /* head of linked list of chil...
-[[MemoryContext/postgresql-8.1.4]] -- MemoryContextData...
MemoryContext nextchild; /* next child of same parent */
-[[MemoryContext/postgresql-8.1.4]] -- MemoryContextData...
char *name; /* context name (just for debugging) */
} MemoryContextData;
*呼出元 [#h851fcdd]
-[[MemoryContext/postgresql-8.1.4]]
*備考 [#jc89c565]
/* utils/palloc.h contains typedef struct MemoryContextDa...
-[[再帰呼び出し①/解読日記]]参照
*履歴 [#f1fff137]
-作者:[[testnoda/ページ作者]]
-日付:2007/2/25
|更新日|更新者|更新内容|
||||
*コメント [#yd844d8e]
#comment
終了行:
このページを編集する際は、[[編集に関する方針]]に従ってく...
*概要 [#s51b00d5]
-対象:8.1.4
-言語:C
-宣言・定義:[[postgresql-8.1.4/src/include/nodes/memnode...
-下記メンバを持つ構造体。
--NodeTag列挙型の変数type
--下記メンバを持つ構造体型MemoryContextMethodsへのポイン...
---void*型の関数ポインタalloc
---void型の関数ポインタfree_p
---void*型の関数ポインタrealloc
---void型の関数ポインタinit
---void型の関数ポインタreset
---void型の関数ポインタdelete
---Size型の関数ポインタget_chunk_space
---bool型の関数ポインタis_empty
---void型の関数ポインタstats
---void型の関数ポインタcheck
--MemoryContextDataへのポインタparent(再帰的使用)
--MemoryContextDataへのポインタfirstchild(再帰的使用)
--MemoryContextDataへのポインタnextchild(再帰的使用)
--char型へのポインタname
*実装 [#e661f607]
typedef struct MemoryContextData
{
NodeTag type; /* identifies exact kind of context */
-[[NodeTag/postgresql-8.1.4]] -- 列挙型(定義している定数...
MemoryContextMethods *methods; /* virtual function tabl...
-[[MemoryContextMethods/postgresql-8.1.4]] -- 下記メンバ...
--void*型の関数ポインタalloc
--void型の関数ポインタfree_p
--void*型の関数ポインタrealloc
--void型の関数ポインタinit
--void型の関数ポインタreset
--void型の関数ポインタdelete
--Size型の関数ポインタget_chunk_space
--bool型の関数ポインタis_empty
--void型の関数ポインタstats
--void型の関数ポインタcheck
MemoryContext parent; /* NULL if no parent (toplevel co...
-[[MemoryContext/postgresql-8.1.4]] -- MemoryContextData...
MemoryContext firstchild; /* head of linked list of chil...
-[[MemoryContext/postgresql-8.1.4]] -- MemoryContextData...
MemoryContext nextchild; /* next child of same parent */
-[[MemoryContext/postgresql-8.1.4]] -- MemoryContextData...
char *name; /* context name (just for debugging) */
} MemoryContextData;
*呼出元 [#h851fcdd]
-[[MemoryContext/postgresql-8.1.4]]
*備考 [#jc89c565]
/* utils/palloc.h contains typedef struct MemoryContextDa...
-[[再帰呼び出し①/解読日記]]参照
*履歴 [#f1fff137]
-作者:[[testnoda/ページ作者]]
-日付:2007/2/25
|更新日|更新者|更新内容|
||||
*コメント [#yd844d8e]
#comment
ページ名: