X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id DCDFDD1B4F6 for ; Mon, 10 Nov 2003 07:14:25 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 56037-01 for ; Mon, 10 Nov 2003 03:13:55 -0400 (AST) Received: from sd.tpf.co.jp (unknown [210.161.239.34]) by svr1.postgresql.org (Postfix) with SMTP id 96C40D1B4F1 for ; Mon, 10 Nov 2003 03:13:52 -0400 (AST) Received: (qmail 21104 invoked from network); 10 Nov 2003 16:13:51 +0900 Received: from unknown (HELO viscomail.tpf.co.jp) (100.0.0.108) by sd2.tpf-fw-c.co.jp with SMTP; 10 Nov 2003 16:13:51 +0900 Received: from tpf.co.jp ([126.0.1.69]) by viscomail.tpf.co.jp (8.8.8+Sun/8.8.8) with ESMTP id QAA13617; Mon, 10 Nov 2003 16:13:50 +0900 (JST) Message-ID: <3FAF3B26.1FE0506E@tpf.co.jp> Date: Mon, 10 Nov 2003 16:15:50 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: TANIDA Yutaka Cc: "pgsql-odbc@postgresql.org" Subject: Re: Bug in SQLColumns() and SQLTables() with "Parse Statement". References: <20031107165801.EA8C.TANIDA@sra.co.jp> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/67 X-Sequence-Number: 3469 TANIDA Yutaka wrote: > > Hi, > > I got a strange result when executing SQLColumns and SQLTables. > > 1. "Parse Statement" option turns on. > 2. Connect to PostgreSQL by ODBC Driver. > 3. Execute simple select statement by SQLExecDirect(). > 4. Execute SQLColumns(). > 5. Check all columns. It's same as select result of 3. > > Attached C program will reproduce this problem .If this option turns on , > You can see SQLNumResultCols() returns invalid column informations. > > Output of "Parse Statement" off. > -- > 20 > 20 > > Output of "Parse Statement" on. > -- > 20 > 1 I've just committed a change to fix the above bug. Please try the current CVS source or the latest snapshot dll at http://www.geocities.jp/inocchichichi/psqlodbc/ . Thanks. Hiroshi Inoue http://www.geocities.jp/inocchichichi/psqlodbc/