Re: [ODBC] [HY000] no error information; Error while preparingparameters - Mailing list pgsql-odbc

From Inoue, Hiroshi
Subject Re: [ODBC] [HY000] no error information; Error while preparingparameters
Date
Msg-id 52da143b-49ee-bf17-61db-f75fad365dd3@dream.email.ne.jp
Whole thread Raw
In response to Re: [ODBC] [HY000] no error information; Error while preparingparameters  (Daniil Megrabyan <danil.megrabjan@gmail.com>)
Responses Re: [ODBC] [HY000] no error information; Error while preparingparameters
List 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 by date:

Previous
From: Daniil Megrabyan
Date:
Subject: Re: [ODBC] [HY000] no error information; Error while preparingparameters
Next
From: Daniil Megrabyan
Date:
Subject: Re: [ODBC] [HY000] no error information; Error while preparingparameters