PostgreSQL解読室:
palloc()/postgresql-8.1.4
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
このページを編集する際は、[[編集に関する方針]]に従ってく...
*概要 [#jd3d18dd]
-対象:8.1.4
-言語:C
-宣言・定義:[[postgresql-8.1.4/src/include/mb/pg_wchar.h]]
-宣言・定義:[[postgresql-8.1.4/src/include/utils/palloc....
**[[postgresql-8.1.4/src/include/mb/pg_wchar.h]] [#m0b5c7...
-mallocの別名。
**[[postgresql-8.1.4/src/include/utils/palloc.h]] [#y5626...
- %%グローバル変数 [[CurrentMemoryContext/postgresql-8.1....
--引数 sz が[[MaxAllocSize/postgresql-8.1.4]]より大きけれ...
--(USE_ASSERT_CHECKINGを指定したバイナリの場合)assert_ena...
ポインタCurrentMemoryContextを構造体[[Node/postgresql-8.1...
*引数 [#r2e08830]
**[[postgresql-8.1.4/src/include/mb/pg_wchar.h]] [#zd3697...
-(mallocと同様)
**[[postgresql-8.1.4/src/include/utils/palloc.h]] [#bbfd2...
-sz -- 内部にて CurrentMemoryContext->methods->alloc で指...
*実装 [#o2b2bbb1]
**[[postgresql-8.1.4/src/include/mb/pg_wchar.h]] [#n09dc5...
#ifdef FRONTEND
#undef palloc
#define palloc malloc
#endif
**[[postgresql-8.1.4/src/include/utils/palloc.h]] [#affa6...
#define palloc(sz) MemoryContextAlloc(CurrentMemoryConte...
-[[MemoryContextAlloc()/postgresql-8.1.4]] -- %%引数 Curr...
--引数 sz が[[MaxAllocSize/postgresql-8.1.4]]より大きけれ...
--(USE_ASSERT_CHECKINGを指定したバイナリの場合)assert_ena...
ポインタCurrentMemoryContextを構造体[[Node/postgresql-8.1...
-[[CurrentMemoryContext/postgresql-8.1.4]] -- 下記メンバ...
--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
*呼出元 [#d446ecf4]
-[[initStringInfo()/postgresql-8.1.4]]
*備考 [#ebf50cb6]
*履歴 [#qe87421d]
-作者:[[testnoda/ページ作者]]
-日付:2007/4/24
|更新日|更新者|更新内容|
|2007/4/24|[[testnoda/ページ作者]]|解読を一旦中止([[関数...
||||
*コメント [#zd241427]
#comment
終了行:
このページを編集する際は、[[編集に関する方針]]に従ってく...
*概要 [#jd3d18dd]
-対象:8.1.4
-言語:C
-宣言・定義:[[postgresql-8.1.4/src/include/mb/pg_wchar.h]]
-宣言・定義:[[postgresql-8.1.4/src/include/utils/palloc....
**[[postgresql-8.1.4/src/include/mb/pg_wchar.h]] [#m0b5c7...
-mallocの別名。
**[[postgresql-8.1.4/src/include/utils/palloc.h]] [#y5626...
- %%グローバル変数 [[CurrentMemoryContext/postgresql-8.1....
--引数 sz が[[MaxAllocSize/postgresql-8.1.4]]より大きけれ...
--(USE_ASSERT_CHECKINGを指定したバイナリの場合)assert_ena...
ポインタCurrentMemoryContextを構造体[[Node/postgresql-8.1...
*引数 [#r2e08830]
**[[postgresql-8.1.4/src/include/mb/pg_wchar.h]] [#zd3697...
-(mallocと同様)
**[[postgresql-8.1.4/src/include/utils/palloc.h]] [#bbfd2...
-sz -- 内部にて CurrentMemoryContext->methods->alloc で指...
*実装 [#o2b2bbb1]
**[[postgresql-8.1.4/src/include/mb/pg_wchar.h]] [#n09dc5...
#ifdef FRONTEND
#undef palloc
#define palloc malloc
#endif
**[[postgresql-8.1.4/src/include/utils/palloc.h]] [#affa6...
#define palloc(sz) MemoryContextAlloc(CurrentMemoryConte...
-[[MemoryContextAlloc()/postgresql-8.1.4]] -- %%引数 Curr...
--引数 sz が[[MaxAllocSize/postgresql-8.1.4]]より大きけれ...
--(USE_ASSERT_CHECKINGを指定したバイナリの場合)assert_ena...
ポインタCurrentMemoryContextを構造体[[Node/postgresql-8.1...
-[[CurrentMemoryContext/postgresql-8.1.4]] -- 下記メンバ...
--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
*呼出元 [#d446ecf4]
-[[initStringInfo()/postgresql-8.1.4]]
*備考 [#ebf50cb6]
*履歴 [#qe87421d]
-作者:[[testnoda/ページ作者]]
-日付:2007/4/24
|更新日|更新者|更新内容|
|2007/4/24|[[testnoda/ページ作者]]|解読を一旦中止([[関数...
||||
*コメント [#zd241427]
#comment
ページ名: