Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhJSy-0004oU-BY for pgsql-odbc@arkaria.postgresql.org; Mon, 14 Aug 2017 17:47:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dhJSx-0004y5-Ja for pgsql-odbc@arkaria.postgresql.org; Mon, 14 Aug 2017 17:47:51 +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 1dfgge-0002PB-DF for pgsql-odbc@postgresql.org; Thu, 10 Aug 2017 06:11:16 +0000 Received: from 89-212-252-137.static.t-2.net ([89.212.252.137] helo=neosys.si) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dfggb-0002qs-2m for pgsql-odbc@postgresql.org; Thu, 10 Aug 2017 06:11:14 +0000 Received: from Ex6.neosys.local (fdd2:1239:fdd7:220:475b:b253:7aef:14e4) by Ex6.neosys.local (fdd2:1239:fdd7:220:475b:b253:7aef:14e4) with Microsoft SMTP Server (TLS) id 15.1.225.42; Thu, 10 Aug 2017 08:11:07 +0200 Received: from Ex6.neosys.local ([fe80::5152:1558:8971:ce3b]) by Ex6.neosys.local ([fe80::5152:1558:8971:ce3b%13]) with mapi id 15.01.0225.041; Thu, 10 Aug 2017 08:11:07 +0200 From: =?iso-8859-2?Q?Matej_Miheli=E8?= To: "pgsql-odbc@postgresql.org" CC: "Inoue, Hiroshi" Subject: A possible bug candidate in the 9.6.0411 when using the ServerSidePrepare option Thread-Topic: A possible bug candidate in the 9.6.0411 when using the ServerSidePrepare option Thread-Index: AdMRnmxa9c/fipPXTSuIKNIaVGQvIw== Date: Thu, 10 Aug 2017 06:11:07 +0000 Message-ID: <09ce3d91ce364987964726aa50a16155@neosys.si> Accept-Language: sl-SI, en-US Content-Language: sl-SI X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [193.77.211.34] x-gfi-smtp-submission: 1 x-gfi-smtp-hellodomain: Ex6.neosys.local x-gfi-smtp-remoteip: fdd2:1239:fdd7:220:475b:b253:7aef:14e4 x-pp-proceessed: 5dbf19b4-9f8c-49b9-904a-05e347d088e8 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.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 * A possible bug candidate in the 9.6.0411 when using the ServerSidePrepare= option Hi. The statement bellow will trigger a false error. This error disappears if I= disable the ServerSidePrepare option in the driver, or if I quote the tabl= e column names. I guess something is triggered by the presence of the dolla= r sign within the column name. I was doing the tests using the 32-bit Unicode 9.6.0411 build. [11.969]STATEMENT ERROR: func=3Dbuild_libpq_bind_params, desc=3D'', errnum= =3D32, errmsg=3D'Parameters exist but IPD isn't set. Please call SQLDescrib= eParam()' [11.969] --------------------------------------------------= ---------- [11.969] hdbc=3D07198568, stmt=3D071647C0, result=3D00000000 [11.969] prepare=3D8, external=3D1 [11.969] bindings=3D00000000, bindings_allocated=3D0 [11.969] parameters=3D00000000, parameters_allocated=3D0 [11.969] statement_type=3D5, statement=3D'create or replace= view neo.vw_el_bn_dbvtlj as select=20 D.T$SUNO as dbvtlj_id, D.T$NAMA as ime_1, D.T$NAMB as ime_2, D.T$NAMC as nslv_1, D.T$NAMD as nslv_2, D.T$NAME as mst_1, D.T$NAMF as mst_2, D.T$PSTC as pst_st, D.T$COMP as pdj, D.T$CBRN as djvnst, D.T$CBAN as bnk, D.T$FOVN as dvcn_st, D.T$CBAN as priv_rac, D.T$CCTY as drzava, D.T$TELP as telefon, D.T$TELX as telex, D.T$TEFX as faks, D.T$REFS as kontakt, D.T$CDEC as pogoj_dost, D.T$PAYM as met_plac, D.T$SUST as stat_dob, D.T$CCON as skrbnik_id, D.T$CPAY as plc_pgj_id, D.t$cfsg as cfsg, D.T$MAIL as email from neo.el_bn_dbvtlj as D ; ' [11.969] stmt_with_params=3D'(NULL)' [11.969] data_at_exec=3D-1, current_exec_param=3D-1, put_da= ta=3D0 [11.969] currTuple=3D-1, current_col=3D-1, lobj_fd=3D-1 [11.969] maxRows=3D0, rowset_size=3D1, keyset_size=3D0, cur= sor_type=3D0, scroll_concurrency=3D1 [11.969] cursor_name=3D'SQL_CUR071647C0' [11.969] ----------------QResult Info ---------------------= ---------- [11.969]CONN ERROR: func=3Dbuild_libpq_bind_params, desc=3D'', errnum=3D0, = errmsg=3D'(NULL)' [11.969] -------------------------------------------------------= ----- [11.985] henv=3D071D1088, conn=3D07198568, status=3D3, num_stmts= =3D16 [11.985] pqconn=3D0717ADA0, stmts=3D0715E4C0, lobj_type=3D-999 -- Regards, Matej. --=20 Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc