PostgreSQL解読室:
initStringInfo()/postgresql-8.1.4
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
このページを編集する際は、[[編集に関する方針]]に従ってく...
*概要 [#ec8700a1]
-対象:8.1.4
-言語:C
-宣言:[[postgresql-8.1.4/src/include/lib/stringinfo.h]](...
-定義:[[postgresql-8.1.4/src/backend/lib/stringinfo.c]]
-(概要を書いてください。)
*引数 [#k20bda3a]
-StringInfo str --
*実装 [#f9c632c4]
void
initStringInfo(StringInfo str)
-[[StringInfo/postgresql-8.1.4]] -- 下記メンバを持つ構造...
--char型へのポインタdata
--int型の変数len
--int型の変数maxlen
--int型の変数cursor
{
int size = 256; /* initial default buffer size */
str->data = (char *) palloc(size);
-[[palloc()/postgresql-8.1.4]] -- %%グローバル変数 [[Curr...
--引数 sz が[[MaxAllocSize/postgresql-8.1.4]]より大きけれ...
--(USE_ASSERT_CHECKINGを指定したバイナリの場合)assert_ena...
ポインタCurrentMemoryContextを構造体[[Node/postgresql-8.1...
str->maxlen = size;
str->len = 0;
str->data[0] = '\0';
str->cursor = 0;
}
*呼出元 [#s7d5c1c6]
-[[expand_fmt_string()/postgresql-8.1.4]]
*備考 [#q3e3a39c]
/*
* initStringInfo
*
* Initialize a StringInfoData struct (with previously un...
* to describe an empty string.
*/
*履歴 [#f0021cd6]
-作者:[[testnoda/ページ作者]]
-日付:????/?/?
|更新日|更新者|更新内容|
|2007/4/24|[[testnoda/ページ作者]]|解読を一旦中止([[関数...
||||
*コメント [#e32ef25c]
#comment
終了行:
このページを編集する際は、[[編集に関する方針]]に従ってく...
*概要 [#ec8700a1]
-対象:8.1.4
-言語:C
-宣言:[[postgresql-8.1.4/src/include/lib/stringinfo.h]](...
-定義:[[postgresql-8.1.4/src/backend/lib/stringinfo.c]]
-(概要を書いてください。)
*引数 [#k20bda3a]
-StringInfo str --
*実装 [#f9c632c4]
void
initStringInfo(StringInfo str)
-[[StringInfo/postgresql-8.1.4]] -- 下記メンバを持つ構造...
--char型へのポインタdata
--int型の変数len
--int型の変数maxlen
--int型の変数cursor
{
int size = 256; /* initial default buffer size */
str->data = (char *) palloc(size);
-[[palloc()/postgresql-8.1.4]] -- %%グローバル変数 [[Curr...
--引数 sz が[[MaxAllocSize/postgresql-8.1.4]]より大きけれ...
--(USE_ASSERT_CHECKINGを指定したバイナリの場合)assert_ena...
ポインタCurrentMemoryContextを構造体[[Node/postgresql-8.1...
str->maxlen = size;
str->len = 0;
str->data[0] = '\0';
str->cursor = 0;
}
*呼出元 [#s7d5c1c6]
-[[expand_fmt_string()/postgresql-8.1.4]]
*備考 [#q3e3a39c]
/*
* initStringInfo
*
* Initialize a StringInfoData struct (with previously un...
* to describe an empty string.
*/
*履歴 [#f0021cd6]
-作者:[[testnoda/ページ作者]]
-日付:????/?/?
|更新日|更新者|更新内容|
|2007/4/24|[[testnoda/ページ作者]]|解読を一旦中止([[関数...
||||
*コメント [#e32ef25c]
#comment
ページ名: