Hi Daniil,
On 2017/02/05 17:06, Daniil Megrabyan wrote:
>> 5 февр. 2017 г., в 10:46, Inoue, Hiroshi <h-inoue(at)dream(dot)email(dot)ne(dot)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||