204 #define appendStringInfoCharMacro(str,ch) \
205 (((str)->len + 1 >= (str)->maxlen) ? \
206 appendStringInfoChar(str, ch) : \
207 (void)((str)->data[(str)->len] = (ch), (str)->data[++(str)->len] = '\0'))
221 const void *
data,
int datalen);
229 const void *
data,
int datalen);
#define Assert(condition)
#define pg_attribute_printf(f, a)
static void const char * fmt
void appendStringInfo(StringInfo str, const char *fmt,...) pg_attribute_printf(2
static void initStringInfoFromString(StringInfo str, char *data, int len)
void destroyStringInfo(StringInfo str)
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
static void initReadOnlyStringInfo(StringInfo str, char *data, int len)
void appendStringInfoSpaces(StringInfo str, int count)
void appendStringInfoChar(StringInfo str, char ch)
void initStringInfo(StringInfo str)