127 #define appendStringInfoCharMacro(str,ch) \
128 (((str)->len + 1 >= (str)->maxlen) ? \
129 appendStringInfoChar(str, ch) : \
130 (void)((str)->data[(str)->len] = (ch), (str)->data[++(str)->len] = '\0'))
144 const char *data,
int datalen);
struct StringInfoData StringInfoData
void int appendStringInfoVA(StringInfo str, const char *fmt, va_list args) pg_attribute_printf(2
StringInfoData * StringInfo
void appendStringInfoSpaces(StringInfo str, int count)
void resetStringInfo(StringInfo str)
#define pg_attribute_printf(f, a)
void appendStringInfo(StringInfo str, const char *fmt,...) pg_attribute_printf(2
void int void appendStringInfoString(StringInfo str, const char *s)
void appendBinaryStringInfo(StringInfo str, const char *data, int datalen)
void appendStringInfoChar(StringInfo str, char ch)
void enlargeStringInfo(StringInfo str, int needed)
StringInfo makeStringInfo(void)
void initStringInfo(StringInfo str)