Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1caHqP-0006K0-8o for pgsql-odbc@arkaria.postgresql.org; Sun, 05 Feb 2017 08:06:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1caHqN-0007G8-Qb for pgsql-odbc@arkaria.postgresql.org; Sun, 05 Feb 2017 08:06:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1caHqM-0007Fz-DL for pgsql-odbc@postgresql.org; Sun, 05 Feb 2017 08:06:42 +0000 Received: from mail-wr0-x235.google.com ([2a00:1450:400c:c0c::235]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1caHqF-0005KE-9g for pgsql-odbc@postgresql.org; Sun, 05 Feb 2017 08:06:41 +0000 Received: by mail-wr0-x235.google.com with SMTP id 89so8174917wrr.2 for ; Sun, 05 Feb 2017 00:06:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=vUc79boNpP4K5idASwpq1dbsOeUIwp5Lwa3dAcJm3FA=; b=LGhxmQhTWZaHD6rsJpIxwyRkPRLIfXekEyGTo7S1voGx9FMv1l69VaFF6PAmkgqifT BfOl89mJHxYXEuAP7v2za1m432HL0D1/pB82VGQFvWzHK52N+ql84Gf55woQbR9y10HD yPdnVgTBRbdCcY7xGU24S53AquGn9DXyAYOxvMbKyQJxeNbOxKlDfQDjsaWc1dRK2mok 7kwkJGYrMKMmKxFHo/XIfOBXO9ZG/JlhUni+myUEB90wjrwtXdBNagwQBtknLzOyAESV cOupRZqBFcNH6nKddH9UY60ZNjT14aX5fmS7AES5+vOyDstjkF1BQQWP4PUYsqHH69e0 bafg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=vUc79boNpP4K5idASwpq1dbsOeUIwp5Lwa3dAcJm3FA=; b=ZfRl83gJ8JRo5MjRsmi8huPfp7JDB8WbBGTHu9o3p/+qhDOwF+tVDzg+UTLKMW1I3C I/O2AiR5+1JEcGIMoOokYAdvB4UzVD9MDOJJnJQCsBXfmj04f6N6ut1N7L8KF0+s3wTJ /8yRDO6DHEz0jFqxl8J5+UXeDfBHoIyXj14nzsMjNAoyZAdmmChp+BhAMmwwA/HPv+Cy vX8vFP9+MeJHYAcjejboUIVaDJducY1CR6/oBL14evzORei+LqPojbTsnNGhF5jboHTU eHKdmzxqMQuJU6nJxOn3mjtbUVifd8Hgfwjv74HuDIBiFoHEzAmVE/iiGLXEWkpBOnuh gCkg== X-Gm-Message-State: AIkVDXKulWF8tO93uPXWxBXv5kOHG9EbaceD2L8mZsOj4ODj7gCwa4h9au26YYzm2tJOLQ== X-Received: by 10.223.150.34 with SMTP id b31mr4610606wra.196.1486281993464; Sun, 05 Feb 2017 00:06:33 -0800 (PST) Received: from minibagroff.mega ([88.201.150.44]) by smtp.gmail.com with ESMTPSA id d42sm53735304wrd.7.2017.02.05.00.06.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Feb 2017 00:06:31 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: [HY000] no error information; Error while preparing parameters From: Daniil Megrabyan In-Reply-To: Date: Sun, 5 Feb 2017 11:06:29 +0300 Cc: pgsql-odbc@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <967DCD5F-8661-4B4B-B512-6AE65E281DD4@gmail.com> References: <8f2bbaf9-1cd1-a6ec-997d-6b97a06e0bf4@dream.email.ne.jp> <73DCCC79-F070-4E60-BFE9-C8E700850986@gmail.com> <2D1939A7-F3E8-4936-B94E-094B9B455E11@gmail.com> To: "Inoue, Hiroshi" X-Mailer: Apple Mail (2.3259) X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org > 5 =D1=84=D0=B5=D0=B2=D1=80. 2017 =D0=B3., =D0=B2 10:46, Inoue, Hiroshi =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0= ): >=20 > Oh nice. > Could you apply an attached patch and try? Here we go! errmsg=3D'PQprepare failed with memory error?' [123145367658496][[SQLAllocHandle]][123145367658496]PGAPI_AllocStmt: enteri= ng... [123145367658496]**** PGAPI_AllocStmt: hdbc =3D 0x10387d200, stmt =3D 0x103= 81c800 [123145367658496]CC_add_statement: self=3D0x10387d200, stmt=3D0x10381c800 [123145367658496][[SQLGetStmtAttr]] Handle=3D58836992 10010 [123145367658496]PGAPI_GetStmtAttr Handle=3D0x10381c800 10010 [123145367658496][[SQLGetStmtAttr]] Handle=3D58836992 10011 [123145367658496]PGAPI_GetStmtAttr Handle=3D0x10381c800 10011 [123145367658496][[SQLGetStmtAttr]] Handle=3D58836992 10012 [123145367658496]PGAPI_GetStmtAttr Handle=3D0x10381c800 10012 [123145367658496][[SQLGetStmtAttr]] Handle=3D58836992 10013 [123145367658496]PGAPI_GetStmtAttr Handle=3D0x10381c800 10013 [123145367658496][[SQLSetStmtAttr]] Handle=3D0x10381c800 6,1 [123145367658496]PGAPI_SetStmtAttr Handle=3D0x10381c800 6,1(0x1) [123145367658496]PGAPI_SetStmtOption: entering... [123145367658496]SetStmtOption(): SQL_CURSOR_TYPE =3D 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=3D 0x10381c800 [123145367658496]PDATA_free_params: ENTER, self=3D0x10381cb38 [123145367658496]Exec_with_parameters_resolved: copying statement params: t= rans_status=3D1, len=3D109, stmt=3D'INSERT INTO Core_Message(channel_id, da= te, member_id, reply_id)=20 VALUES(25, '2017-02-05 11:01:34', 4, NULL)=20 ' [123145367658496] stmt_with_params =3D '(null)' [123145367658496]about to begin SC_execute [123145367658496]libpq_bind_and_exec: bind stmt=3D0x10381c800 [123145367658496]libpq_bind_and_exec: execute stmt=3D0x10381c800 [123145367658496]SC_scanQueryAndCountParams: entering... [123145367658496]SC_scanQueryAndCountParams: entering... [123145367658496]process_statements:parsed for the first command length=3D-= 1(-1) num_p=3D0 [123145367658496]ParseAndDescribeWithLibpq: plan_name=3D_PLAN0x10381c800 qu= ery=3DINSERT INTO Core_Message(channel_id, date, member_id, reply_id)=20 VALUES(25, '2017-02-05 11:01:34', 4, NULL)=20 [123145367658496]in QR_Constructor [123145367658496]exit QR_Constructor [123145367658496]ParseWithLibpq: plan_name=3D_PLAN0x10381c800 query=3DINSER= T INTO Core_Message(channel_id, date, member_id, reply_id)=20 VALUES(25, '2017-02-05 11:01:34', 4, NULL)=20 [123145367658496]PQprepare failed with memory error? [123145367658496]STATEMENT ERROR: func=3DParseWithLibpq, desc=3D'', errnum= =3D4, errmsg=3D'PQprepare failed with memory error?' [123145367658496]CONN ERROR: func=3DParseWithLibpq, desc=3D'', errnum=3D110= , errmsg=3D'(NULL)' [123145367658496]SC_set_Result(381c800, b325d0)[123145367658496]QResult: en= ter DESTRUCTOR [123145367658496]error message len=3D20 [123145367658496]CC_on_abort in [123145367658496]retval=3D-1 [123145367658496][[SQLGetDiagRec]] [123145367658496]PGAPI_GetDiagRec entering type=3D3 rec=3D1 [123145367658496]ER_ReturnError: status =3D 4, msg =3D #no error informatio= n; PQprepare failed with memory error?# [123145367658496] szSqlState =3D 'HY001',len=3D57, szError=3D'no error= information; PQprepare failed with memory error?' [123145367658496]PGAPI_GetDiagRec exiting 0 [123145367658496][[SQLGetDiagRec]] [123145367658496]PGAPI_GetDiagRec entering type=3D3 rec=3D2 [123145367658496]ER_ReturnError: status =3D 4, msg =3D #no error informatio= n; PQprepare failed with memory error?# [123145367658496]PGAPI_GetDiagRec exiting 100 [123145367658496][[SQLFreeHandle]][123145367658496]PGAPI_FreeStmt: entering= ...hstmt=3D0x10381c800, fOption=3D1 [123145367658496]QResult: enter DESTRUCTOR [123145367658496]QResult: in QR_close_result [123145367658496]QResult: free memory in, fcount=3D0 [123145367658496]QResult: free memory out [123145367658496]QResult: exit close_result [123145367658496]QResult: exit DESTRUCTOR [123145367658496]SC_init_Result(381c800)[123145367658496]SC_Destructor: sel= f=3D0x10381c800, self->result=3D0x0, self->hdbc=3D0x10387d200 [123145367658496]APD_free_params: ENTER, self=3D0x10381c9d0 [123145367658496]IPD_free_params: ENTER, self=3D0x10381ca40 [123145367658496]PDATA_free_params: ENTER, self=3D0x10381cb38 [123145367658496]SC_Destructor: EXIT [123145367658496][[SQLGetDiagRec]] [123145367658496]PGAPI_GetDiagRec entering type=3D2 rec=3D1 [123145367658496]**** PGAPI_ConnectError: hdbc=3D0x10387d200 <512> [123145367658496]enter CC_get_error [123145367658496]exit CC_get_error [123145367658496]CC_Get_error returned nothing. [123145367658496]PGAPI_GetDiagRec exiting 100 =E2=80=94 Daniil A Megrabyan =E2=80=94 --=20 Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc