Re: [ODBC] [HY000] no error information; Error while preparingparameters

Поиск
Список
Период
Сортировка
От Inoue, Hiroshi
Тема Re: [ODBC] [HY000] no error information; Error while preparingparameters
Дата
Msg-id 52da143b-49ee-bf17-61db-f75fad365dd3@dream.email.ne.jp
обсуждение исходный текст
Ответ на Re: [ODBC] [HY000] no error information; Error while preparingparameters  (Daniil Megrabyan <danil.megrabjan@gmail.com>)
Ответы Re: [ODBC] [HY000] no error information; Error while preparingparameters  (Daniil Megrabyan <danil.megrabjan@gmail.com>)
Список pgsql-odbc
Hi Daniil,
On 2017/02/05 17:06, Daniil Megrabyan wrote:
5 февр. 2017 г., в 10:46, Inoue, Hiroshi <h-inoue@dream.email.ne.jp> написал(а):

Oh nice.
Could you apply an attached patch and try?
Here w go! errmsg='PQprepare failed with memory error?'

Hmm, strange.
This means
        pgres = PQprepare(conn->pqconn, plan_name, query, num_params, paramTypes);
returns a null pointer.
    https://www.postgresql.org/docs/9.6/static/libpq-exec.html says
Returns a PGresult pointer or possibly a null pointer. A non-null pointer will generally be returned except in out-of-memory conditions
or serious errors such as inability to send the command to the server.

regards,
Hiroshi Inoue


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

Предыдущее
От: Daniil Megrabyan
Дата:
Сообщение: Re: [ODBC] [HY000] no error information; Error while preparingparameters
Следующее
От: Daniil Megrabyan
Дата:
Сообщение: Re: [ODBC] [HY000] no error information; Error while preparingparameters