304 if (
str->maxlen >
str->len + 16)
306 avail =
str->maxlen -
str->len;
387 str->data[
str->len] =
'\0';
411 str->data[
str->len] =
'\0';
#define unconstify(underlying_type, expr)
void printfPQExpBuffer(PQExpBuffer str, const char *fmt,...)
PQExpBuffer createPQExpBuffer(void)
void initPQExpBuffer(PQExpBuffer str)
int enlargePQExpBuffer(PQExpBuffer str, size_t needed)
void resetPQExpBuffer(PQExpBuffer str)
void appendPQExpBuffer(PQExpBuffer str, const char *fmt,...)
void appendBinaryPQExpBuffer(PQExpBuffer str, const char *data, size_t datalen)
void destroyPQExpBuffer(PQExpBuffer str)
static const char *const oom_buffer_ptr
static const char oom_buffer[1]
bool appendPQExpBufferVA(PQExpBuffer str, const char *fmt, va_list args)
void appendPQExpBufferChar(PQExpBuffer str, char ch)
void appendPQExpBufferStr(PQExpBuffer str, const char *data)
void termPQExpBuffer(PQExpBuffer str)
static void markPQExpBufferBroken(PQExpBuffer str)
#define PQExpBufferBroken(str)
PQExpBufferData * PQExpBuffer
#define INITIAL_EXPBUFFER_SIZE