Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZyCi-000296-7N for pgsql-odbc@arkaria.postgresql.org; Sat, 04 Feb 2017 11:08:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cZyCh-0002NS-Lm for pgsql-odbc@arkaria.postgresql.org; Sat, 04 Feb 2017 11:08:27 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cZyCK-0001yw-7m for pgsql-odbc@postgresql.org; Sat, 04 Feb 2017 11:08:04 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cZyCG-0002Df-NU for pgsql-odbc@postgresql.org; Sat, 04 Feb 2017 11:08:02 +0000 Received: by mail-wm0-x22c.google.com with SMTP id v77so64387673wmv.0 for ; Sat, 04 Feb 2017 03:08:00 -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=kfacrXJzwpB6iQ8vFW8i3W78se4Wdlk3EionQ0Y4Xo8=; b=eaQOBXCih4GwShjDiX3lOwRguMdF8GqZ9HRbkFyHxPl31BD90z/8MHHL+Fe6Vt0xTw W83GydfuK7vzu9Pd6wVPpnTWlTs1N8EEgf5BRxpG018VCf6uh3dyRHZE5QRZKV/eJgSi Hn3EQ9op1wkeq+OlZCO9korIJyNGE+dla0I9K5kMypxw8c5uSpjPGEIwzOpAx2LWtVSb nAyvqQMUDf1FD1jlQyzO5QicddyohrrSWvqpsDdOghIvw2On045WIROH9LW0wT9s4gaq cV2tj44U7MgqEOFvyaLGkkjoF3gWM2kbtq0bgi7laJ7t2vkgfKUZ+f3iUGsg2AjZ/Ox7 nIEA== 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=kfacrXJzwpB6iQ8vFW8i3W78se4Wdlk3EionQ0Y4Xo8=; b=VhXDOjO6pplkH5lNATIlEcykXIYyCL0UrPD+saLp2gB0g9qv0Z2ZuwClW0y3LAC7ZP mW41ErJnUaFFWASCNknAw6N/yY9lLnRfzW6B/aHGN6J+5Bev/muvrZe9QmgaETaUKMhD ZXMSwbt7uFSb3ZtXgD9jh121ac7byBJkMiWI4/xgXo30fDGbHisTqW8zBRfJ7wijaimV nWDH8U5J7wZgCbGJbbd0p46DYUW3q/riqL6/rOolNZ/RMlxeepNa9AkMgQYvNUzaGw5E yGbUSt3NcfUbCZIbHFlOX4CskERTomOweDsbqq4rUFkMJKBvHJA+LPoowGIRV4a/EDAU XHJQ== X-Gm-Message-State: AMke39l5gMtqh0WC+ZyorYGtjiG2LEA7k2FDcp9ZEq4aRuvcu+lrMU+a2ZkaSXBD+B4q2w== X-Received: by 10.28.222.11 with SMTP id v11mr1505977wmg.1.1486206477505; Sat, 04 Feb 2017 03:07:57 -0800 (PST) Received: from minibagroff.mega ([88.201.150.44]) by smtp.gmail.com with ESMTPSA id b15sm49556976wra.4.2017.02.04.03.07.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Feb 2017 03:07:56 -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: <8f2bbaf9-1cd1-a6ec-997d-6b97a06e0bf4@dream.email.ne.jp> Date: Sat, 4 Feb 2017 14:07:55 +0300 Cc: pgsql-odbc@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <8f2bbaf9-1cd1-a6ec-997d-6b97a06e0bf4@dream.email.ne.jp> To: "Inoue, Hiroshi" X-Mailer: Apple Mail (2.3259) X-Pg-Spam-Score: -2.7 (--) 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 > 3 =D1=84=D0=B5=D0=B2=D1=80. 2017 =D0=B3., =D0=B2 16:50, Inoue, Hiroshi =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0= ): >=20 > On 2017/02/03 17:06, Daniil Megrabyan wrote: >> Hi, >>=20 >> _Sometimes_ I=E2=80=99m getting very =C2=ABinformative=C2=BB error messa= ge on SQLExecute(). The query is quite easy, but I=E2=80=99m guessing that = error comes from the driver(or driver manager though?). What should I check? >=20 > Could you take mylog output and send it to me? [123145489756160]**** PGAPI_AllocStmt: hdbc =3D 0x10308cc00, stmt =3D 0x101= 01ca00 [123145489756160]CC_add_statement: self=3D0x10308cc00, stmt=3D0x10101ca00 [123145489756160][[SQLGetStmtAttr]] Handle=3D16894464 10010 [123145489756160]PGAPI_GetStmtAttr Handle=3D0x10101ca00 10010 [123145489756160][[SQLGetStmtAttr]] Handle=3D16894464 10011 [123145489756160]PGAPI_GetStmtAttr Handle=3D0x10101ca00 10011 [123145489756160][[SQLGetStmtAttr]] Handle=3D16894464 10012 [123145489756160]PGAPI_GetStmtAttr Handle=3D0x10101ca00 10012 [123145489756160][[SQLGetStmtAttr]] Handle=3D16894464 10013 [123145489756160]PGAPI_GetStmtAttr Handle=3D0x10101ca00 10013 [123145489756160][[SQLSetStmtAttr]] Handle=3D0x10101ca00 6,1 [123145489756160]PGAPI_SetStmtAttr Handle=3D0x10101ca00 6,1(0x1) [123145489756160]PGAPI_SetStmtOption: entering... [123145489756160]SetStmtOption(): SQL_CURSOR_TYPE =3D 1 [123145489756160]->= 1 [123145489756160][SQLPrepare][123145489756160]PGAPI_Prepare: entering... [123145489756160]**** PGAPI_Prepare: STMT_ALLOCATED, copy [123145489756160][SQLExecute][123145489756160]PGAPI_Execute: entering...1 [123145489756160]PGAPI_Execute: clear errors... [123145489756160]PGAPI_NumParams: entering... [123145489756160]SC_scanQueryAndCountParams: entering... [123145489756160]prepareParameters was not called, prepare state:7 [123145489756160]SC_recycle_statement: self=3D 0x10101ca00 [123145489756160]PDATA_free_params: ENTER, self=3D0x10101cd30 [123145489756160]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(18, '2017-02-04 14:01:22', 4, NULL)=20 ' [123145489756160] stmt_with_params =3D '(null)' [123145489756160]about to begin SC_execute [123145489756160]libpq_bind_and_exec: bind stmt=3D0x10101ca00 [123145489756160]libpq_bind_and_exec: execute stmt=3D0x10101ca00 [123145489756160]SC_scanQueryAndCountParams: entering... [123145489756160]SC_scanQueryAndCountParams: entering... [123145489756160]process_statements:parsed for the first command length=3D-= 1(-1) num_p=3D0 [123145489756160]ParseAndDescribeWithLibpq: plan_name=3D_PLAN0x10101ca00 qu= ery=3DINSERT INTO Core_Message(channel_id, date, member_id, reply_id)=20 VALUES(18, '2017-02-04 14:01:22', 4, NULL)=20 [123145489756160]in QR_Constructor [123145489756160]exit QR_Constructor [123145489756160]ParseWithLibpq: plan_name=3D_PLAN0x10101ca00 query=3DINSER= T INTO Core_Message(channel_id, date, member_id, reply_id)=20 VALUES(18, '2017-02-04 14:01:22', 4, NULL)=20 [123145489756160]notice/error message len=3D20 [123145489756160]CC_on_abort in [123145489756160]SC_set_Result(101ca00, c3c5e0)[123145489756160]QResult: en= ter DESTRUCTOR [123145489756160]STATEMENT ERROR: func=3Ddesc_params_and_sync, desc=3D'', e= rrnum=3D1, errmsg=3D'Error while preparing parameters' [123145489756160]CONN ERROR: func=3Ddesc_params_and_sync, desc=3D'', errnum= =3D108, errmsg=3D'(NULL)' [123145489756160]CC_on_abort in [123145489756160]retval=3D-1 [123145489756160][[SQLGetDiagRec]] [123145489756160]PGAPI_GetDiagRec entering type=3D3 rec=3D1 [123145489756160]ER_ReturnError: status =3D 1, msg =3D #no error informatio= n; Error while preparing parameters# [123145489756160] szSqlState =3D 'HY000',len=3D54, szError=3D'no error= information; Error while preparing parameters' [123145489756160]PGAPI_GetDiagRec exiting 0 [123145489756160][[SQLGetDiagRec]] [123145489756160]PGAPI_GetDiagRec entering type=3D3 rec=3D2 [123145489756160]ER_ReturnError: status =3D 1, msg =3D #no error informatio= n; Error while preparing parameters# [123145489756160]PGAPI_GetDiagRec exiting 100 [123145489756160][[SQLFreeHandle]][123145489756160]PGAPI_FreeStmt: entering= ...hstmt=3D0x10101ca00, fOption=3D1 [123145489756160]QResult: enter DESTRUCTOR [123145489756160]QResult: in QR_close_result [123145489756160]QResult: free memory in, fcount=3D0 [123145489756160]QResult: free memory out [123145489756160]QResult: exit close_result [123145489756160]QResult: exit DESTRUCTOR [123145489756160]SC_init_Result(101ca00)[123145489756160]SC_Destructor: sel= f=3D0x10101ca00, self->result=3D0x0, self->hdbc=3D0x10308cc00 [123145489756160]APD_free_params: ENTER, self=3D0x10101cbd0 [123145489756160]IPD_free_params: ENTER, self=3D0x10101cc40 [123145489756160]PDATA_free_params: ENTER, self=3D0x10101cd30 [123145489756160]SC_Destructor: EXIT =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