Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id BE7C7632B88 for ; Sat, 22 May 2010 22:45:57 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 66197-04 for ; Sun, 23 May 2010 01:45:49 +0000 (UTC) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by mail.postgresql.org (Postfix) with ESMTP id DD2DB632805 for ; Sat, 22 May 2010 22:45:50 -0300 (ADT) Received: from maia.hub.org (maia-4.hub.org [200.46.204.183]) by pgfoundry.org (Postfix) with ESMTP id EB0951071655 for ; Sun, 23 May 2010 01:45:48 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 52663-06; Sun, 23 May 2010 01:45:42 +0000 (UTC) Received: by pgfoundry.org (Postfix, from userid 80) id 88418107164F; Sun, 23 May 2010 01:45:41 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1010827 ] ODBC driver not parsing comment correctly Content-type: text/plain; charset=UTF-8 Message-Id: <20100523014541.88418107164F@pgfoundry.org> Date: Sun, 23 May 2010 01:45:41 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.79 tagged_above=-10 required=5 tests=BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201005/46 X-Sequence-Number: 10293 Bugs item #1010827, was opened at 2010-05-20 14:04 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010827&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Farid Zidan (faridz) Assigned to: Hiroshi Inoue (hinoue) Summary: ODBC driver not parsing comment correctly Initial Comment: create table test_comment(col1 varchar(20)); /*http://forums.oracle.com/forums/thread.jspa?threadID=1055333&stqc=true*/ insert into test_comment values('abc'); I get the following error using ODBC driver executing the three lines above: SQL Error. Native Code: 32, SQLState: 07002, Return Code: -1 The # of binded parameters < the # of parameter markers Correctly, no error is generated if executing the insert using PgAdmin query. ---------------------------------------------------------------------- >Comment By: Farid Zidan (faridz) Date: 2010-05-22 21:45 Message: Thanks. Passes previous tests. However, it fails this new test: create table test_comment(col1 varchar(20)); --http://forums.oracle.com/forums/thread.jspa?threadID=1055333&stqc=true insert into test_comment values('abc'); ---------------------------------------------------------------------- Comment By: Hiroshi Inoue (hinoue) Date: 2010-05-22 20:18 Message: I see. I changed a suspicious place. Could you please retry the drivers? ---------------------------------------------------------------------- Comment By: Farid Zidan (faridz) Date: 2010-05-21 08:27 Message: Re-tested with the given driver from link. It is now giving errors on what previously did not generate errors. Example, /*==============================================================*/ /* DBMS name: PostgreSQL 7.3 */ /* Created on: 5/20/2010 2:07:58 PM */ /*==============================================================*/ select 1 SQL Error. Native Code: 32, SQLState: 07002, Return Code: -1 The # of binded parameters < the # of parameter markers ---------------------------------------------------------------------- Comment By: Hiroshi Inoue (hinoue) Date: 2010-05-20 23:20 Message: I can reproduce the problem. Could you please try the drivers on testing for 8.4.0201 at http://www.geocities.jp/inocchichichi/psqlodbc/index.html ? ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010827&group_id=1000125