pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniil Megrabyan <danil.megrabjan@gmail.com>
To: Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
Cc: pgsql-odbc@postgresql.org
Subject: Re: [HY000] no error information; Error while preparing parameters
Date: Sun, 5 Feb 2017 11:06:29 +0300
Message-ID: <967DCD5F-8661-4B4B-B512-6AE65E281DD4@gmail.com> (raw)
In-Reply-To: <f657925b-9a5c-7aee-3cfd-f59496b555ad@dream.email.ne.jp>
References: <AA343437-E0AD-4939-9B7E-C539E8AA392D@gmail.com>
	<8f2bbaf9-1cd1-a6ec-997d-6b97a06e0bf4@dream.email.ne.jp>
	<FBB46514-C539-4929-8FB1-B75E2E895FF7@gmail.com>
	<a0be924d-03f2-267e-b83e-505ca95f531f@dream.email.ne.jp>
	<73DCCC79-F070-4E60-BFE9-C8E700850986@gmail.com>
	<bea7518f-ef0e-b385-e6f1-fdf7bfc531e2@dream.email.ne.jp>
	<2D1939A7-F3E8-4936-B94E-094B9B455E11@gmail.com>
	<f657925b-9a5c-7aee-3cfd-f59496b555ad@dream.email.ne.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>


> 5 февр. 2017 г., в 10:46, Inoue, Hiroshi <h-inoue@dream.email.ne.jp> написал(а):
> 
> Oh nice.
> Could you apply an attached patch and try?

Here we go! errmsg='PQprepare failed with memory error?'

[123145367658496][[SQLAllocHandle]][123145367658496]PGAPI_AllocStmt: entering...
[123145367658496]**** PGAPI_AllocStmt: hdbc = 0x10387d200, stmt = 0x10381c800
[123145367658496]CC_add_statement: self=0x10387d200, stmt=0x10381c800
[123145367658496][[SQLGetStmtAttr]] Handle=58836992 10010
[123145367658496]PGAPI_GetStmtAttr Handle=0x10381c800 10010
[123145367658496][[SQLGetStmtAttr]] Handle=58836992 10011
[123145367658496]PGAPI_GetStmtAttr Handle=0x10381c800 10011
[123145367658496][[SQLGetStmtAttr]] Handle=58836992 10012
[123145367658496]PGAPI_GetStmtAttr Handle=0x10381c800 10012
[123145367658496][[SQLGetStmtAttr]] Handle=58836992 10013
[123145367658496]PGAPI_GetStmtAttr Handle=0x10381c800 10013
[123145367658496][[SQLSetStmtAttr]] Handle=0x10381c800 6,1
[123145367658496]PGAPI_SetStmtAttr Handle=0x10381c800 6,1(0x1)
[123145367658496]PGAPI_SetStmtOption: entering...
[123145367658496]SetStmtOption(): SQL_CURSOR_TYPE = 1 [123145367658496]-> 1
[123145367658496][SQLPrepare][123145367658496]PGAPI_Prepare: entering...
[123145367658496]**** PGAPI_Prepare: STMT_ALLOCATED, copy
[123145367658496][SQLExecute][123145367658496]PGAPI_Execute: entering...1
[123145367658496]PGAPI_Execute: clear errors...
[123145367658496]PGAPI_NumParams: entering...
[123145367658496]SC_scanQueryAndCountParams: entering...
[123145367658496]prepareParameters was not called, prepare state:7
[123145367658496]SC_recycle_statement: self= 0x10381c800
[123145367658496]PDATA_free_params:  ENTER, self=0x10381cb38
[123145367658496]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=109, stmt='INSERT INTO Core_Message(channel_id, date, member_id, reply_id) 
VALUES(25, '2017-02-05 11:01:34', 4, NULL) 
'
[123145367658496]   stmt_with_params = '(null)'
[123145367658496]about to begin SC_execute
[123145367658496]libpq_bind_and_exec: bind stmt=0x10381c800
[123145367658496]libpq_bind_and_exec: execute stmt=0x10381c800
[123145367658496]SC_scanQueryAndCountParams: entering...
[123145367658496]SC_scanQueryAndCountParams: entering...
[123145367658496]process_statements:parsed for the first command length=-1(-1) num_p=0
[123145367658496]ParseAndDescribeWithLibpq: plan_name=_PLAN0x10381c800 query=INSERT INTO Core_Message(channel_id, date, member_id, reply_id) 
VALUES(25, '2017-02-05 11:01:34', 4, NULL) 

[123145367658496]in QR_Constructor
[123145367658496]exit QR_Constructor
[123145367658496]ParseWithLibpq: plan_name=_PLAN0x10381c800 query=INSERT INTO Core_Message(channel_id, date, member_id, reply_id) 
VALUES(25, '2017-02-05 11:01:34', 4, NULL) 

[123145367658496]PQprepare failed with memory error?
[123145367658496]STATEMENT ERROR: func=ParseWithLibpq, desc='', errnum=4, errmsg='PQprepare failed with memory error?'
[123145367658496]CONN ERROR: func=ParseWithLibpq, desc='', errnum=110, errmsg='(NULL)'
[123145367658496]SC_set_Result(381c800, b325d0)[123145367658496]QResult: enter DESTRUCTOR
[123145367658496]error message len=20
[123145367658496]CC_on_abort in
[123145367658496]retval=-1
[123145367658496][[SQLGetDiagRec]]
[123145367658496]PGAPI_GetDiagRec entering type=3 rec=1
[123145367658496]ER_ReturnError: status = 4, msg = #no error information;
PQprepare failed with memory error?#
[123145367658496]	     szSqlState = 'HY001',len=57, szError='no error information;
PQprepare failed with memory error?'
[123145367658496]PGAPI_GetDiagRec exiting 0
[123145367658496][[SQLGetDiagRec]]
[123145367658496]PGAPI_GetDiagRec entering type=3 rec=2
[123145367658496]ER_ReturnError: status = 4, msg = #no error information;
PQprepare failed with memory error?#
[123145367658496]PGAPI_GetDiagRec exiting 100
[123145367658496][[SQLFreeHandle]][123145367658496]PGAPI_FreeStmt: entering...hstmt=0x10381c800, fOption=1
[123145367658496]QResult: enter DESTRUCTOR
[123145367658496]QResult: in QR_close_result
[123145367658496]QResult: free memory in, fcount=0
[123145367658496]QResult: free memory out
[123145367658496]QResult: exit close_result
[123145367658496]QResult: exit DESTRUCTOR
[123145367658496]SC_init_Result(381c800)[123145367658496]SC_Destructor: self=0x10381c800, self->result=0x0, self->hdbc=0x10387d200
[123145367658496]APD_free_params:  ENTER, self=0x10381c9d0
[123145367658496]IPD_free_params:  ENTER, self=0x10381ca40
[123145367658496]PDATA_free_params:  ENTER, self=0x10381cb38
[123145367658496]SC_Destructor: EXIT
[123145367658496][[SQLGetDiagRec]]
[123145367658496]PGAPI_GetDiagRec entering type=2 rec=1
[123145367658496]**** PGAPI_ConnectError: hdbc=0x10387d200 <512>
[123145367658496]enter CC_get_error
[123145367658496]exit CC_get_error
[123145367658496]CC_Get_error returned nothing.
[123145367658496]PGAPI_GetDiagRec exiting 100


— Daniil A Megrabyan —




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



view thread (20+ messages)  latest in thread

Message-ID: <967DCD5F-8661-4B4B-B512-6AE65E281DD4@gmail.com>
Permalink:  ../967DCD5F-8661-4B4B-B512-6AE65E281DD4@gmail.com/
Also on:    postgresql.org/message-id/967DCD5F-8661-4B4B-B512-6AE65E281DD4@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: danil.megrabjan@gmail.com, h-inoue@dream.email.ne.jp
  Subject: Re: [HY000] no error information; Error while preparing parameters
  In-Reply-To: <967DCD5F-8661-4B4B-B512-6AE65E281DD4@gmail.com>
  References: <AA343437-E0AD-4939-9B7E-C539E8AA392D@gmail.com> <8f2bbaf9-1cd1-a6ec-997d-6b97a06e0bf4@dream.email.ne.jp> <FBB46514-C539-4929-8FB1-B75E2E895FF7@gmail.com> <a0be924d-03f2-267e-b83e-505ca95f531f@dream.email.ne.jp> <73DCCC79-F070-4E60-BFE9-C8E700850986@gmail.com> <bea7518f-ef0e-b385-e6f1-fdf7bfc531e2@dream.email.ne.jp> <2D1939A7-F3E8-4936-B94E-094B9B455E11@gmail.com> <f657925b-9a5c-7aee-3cfd-f59496b555ad@dream.email.ne.jp> <967DCD5F-8661-4B4B-B512-6AE65E281DD4@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox