Re: Out-of-memory error reports in libpq

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Out-of-memory error reports in libpq
Дата
Msg-id 680764.1627530009@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Out-of-memory error reports in libpq  (Ranier Vilela <ranier.vf@gmail.com>)
Ответы Re: Out-of-memory error reports in libpq
Re: Out-of-memory error reports in libpq
Список pgsql-hackers
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.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Gurjeet Singh
Дата:
Сообщение: Re: Slightly improve initdb --sync-only option's help message
Следующее
От: Yugo NAGATA
Дата:
Сообщение: Re: pgbench bug candidate: negative "initial connection time"