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

Поиск
Список
Период
Сортировка
От Benoît Dufour
Тема [Feature request] Add a way to get the length of a PQerrorMessage in libpq
Дата
Msg-id 2f8664b8-9b7a-4d2e-a90f-fca262ed2f07@mail.com
обсуждение исходный текст
Ответы Re: [Feature request] Add a way to get the length of a PQerrorMessage in libpq
Список pgsql-hackers
Hello hackers,

I've been using PostgreSQL for about one year, and so far I like it a
lot, way more than MySQL or MariaDB, but I still have a little feature
request for libpq.

Could you add a way to get the size of an error message in libpq?

PQerrorMessage isn't enough when you want to do exact size string
concatenation or copy of the error message.




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