#author("2017-05-14T23:54:49+09:00","default:haikikyou","haikikyou")
[[PostgreSQL/開発]]

#contents

* 概要 [#x3212ce9]

- 文字列操作のための機能

* 定義 [#lfd0bcfa]

** マクロ [#wc26469d]

** 列挙型 [#zda8d716]

** 構造体 [#b3dbc701]

*** stringinfo [#fdb4943b]

|~番号|~データ型|~フィールド|~説明|h
|1|char*|data|文字列データのポインタ|
|2|int|len|文字列の長さ(\0終端)|
|3|int|maxlen|バッファ割り当ての最大長|
|4|int|cursor|カーソル。makeStringInfoやinitStringInfoで0初期化される。&br;stringinfo.cルーチンの中で更新される訳ではなさそう。|


** 関数 [#jb5f6354]

*** makeStringInfo [#w4a8173c]

#geshi(c){{
// 引数1:
extern StringInfo makeStringInfo(void);
}}

-

*** initStringInfo [#o7d1b4fb]

#geshi(c){{
// 引数1:
extern void initStringInfo(StringInfo str);
}}

-

*** resetStringInfo [#q3bfc3ec]

#geshi(c){{
// 引数1:
extern void resetStringInfo(StringInfo str);
}}

-

*** appendStringInfo [#hf190f75]

#geshi(c){{
// 引数1:
// 引数2:
extern void appendStringInfo(StringInfo str, const char *fmt,...) pg_attribute_printf(2, 3);
}}

-

*** appendStringInfoVA [#l2f2d632]

#geshi(c){{
// 引数1:
// 引数2:
// 引数3:
extern int appendStringInfoVA(StringInfo str, const char *fmt, va_list args) pg_attribute_printf(2, 0);
}}

-


*** appendStringInfoString [#t6e76aff]

#geshi(c){{
// 引数1:
// 引数2:
extern void appendStringInfoString(StringInfo str, const char *s);
}}

-


*** appendStringInfoChar [#z8601226]

#geshi(c){{
// 引数1:
// 引数2:
extern void appendStringInfoChar(StringInfo str, char ch);
}}

-

*** appendStringInfoSpaces [#o7f2de12]

#geshi(c){{
// 引数1:
// 引数2:
extern void appendStringInfoSpaces(StringInfo str, int count);
}}

-

*** appendBinaryStringInfo [#i6c08919]

#geshi(c){{
// 引数1:
// 引数2:
// 引数3:
extern void appendBinaryStringInfo(StringInfo str, const char *data, int datalen);
}}

-

*** enlargeStringInfo [#q1721071]

#geshi(c){{
// 引数1:
// 引数2:
extern void enlargeStringInfo(StringInfo str, int needed);
}}

-

* サンプルプログラム [#kf97c68f]

#geshi(c){{
// sample
}}

* 参考・関連 [#b306106b]

- [[stringinfo.h>https://doxygen.postgresql.org/stringinfo_8h_source.html]] - on doxygen.postgresql.org

* コメント [#q3200529]

#comment


トップ   一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
目次
ダブルクリックで閉じるTOP | 閉じる
GO TO TOP