[BUGS] BUG #14459: Error from query with too many binds has no message

Поиск
Список
Период
Сортировка
От sean@seantheprogrammer.com
Тема [BUGS] BUG #14459: Error from query with too many binds has no message
Дата
Msg-id 20161210115501.1410.14722@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: [BUGS] BUG #14459: Error from query with too many binds has no message  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      14459
Logged by:          Sean Griffin
Email address:      sean@seantheprogrammer.com
PostgreSQL version: 9.6.1
Operating system:   macOS
Description:

If a query is performed with more than 34464 bind parameters, the query will
fail. This is fine, but attempting to get the error message with
`PQresultErrorField` and `PG_DIAG_MESSAGE_PRIMARY` will return `NULL`. The
documentation states that the `PG_DIAG_MESSAGE_PRIMARY` field is always
present.


--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

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

Предыдущее
От: garfield.lewis@lzlabs.com
Дата:
Сообщение: [BUGS] BUG #14458: PQfmod returns -1 for aggregate functions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #14459: Error from query with too many binds has no message