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