Re: [Feature request] Add a way to get the length of a PQerrorMessage in libpq

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [Feature request] Add a way to get the length of a PQerrorMessage in libpq
Дата
Msg-id 189125.1755186836@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [Feature request] Add a way to get the length of a PQerrorMessage in libpq  (Benoît Dufour <benoit.dufour@mail.com>)
Ответы Re: [Feature request] Add a way to get the length of a PQerrorMessage in libpq
Список pgsql-hackers
=?UTF-8?Q?Beno=C3=AEt_Dufour?= <benoit.dufour@mail.com> writes:
> Could you add a way to get the size of an error message in libpq?

What's wrong with applying strlen() to the result of PQerrorMessage?

            regards, tom lane



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