Ranier Vilela <ranier.vf@gmail.com> writes: > IMO, I think that "char *msg" is unnecessary, isn't it? > + if (!PQExpBufferBroken(errorMessage)) > + res->errMsg = pqResultStrdup(res, errorMessage->data); > else > - res->errMsg = NULL; > + res->errMsg = libpq_gettext("out of memory\n"); Please read the comment.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных