Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 807E39FB1BC for ; Mon, 16 Jul 2007 10:11:46 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 50035-06 for ; Mon, 16 Jul 2007 10:11:35 -0300 (ADT) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id 2BC679FA458 for ; Mon, 16 Jul 2007 10:11:45 -0300 (ADT) Received: from localhost (unknown [200.46.204.183]) by pgfoundry.org (Postfix) with ESMTP id 351EB216F8E; Mon, 16 Jul 2007 13:11:36 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 12169-10; Mon, 16 Jul 2007 10:11:35 -0300 (ADT) Received: by pgfoundry.org (Postfix, from userid 80) id 57AB4216D41; Mon, 16 Jul 2007 13:11:35 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1007689 ] Returns ODBC 2.0 column names for SQLTables calls but reports ODBC 3.0 Content-type: text/plain; charset=UTF-8 Message-Id: <20070716131135.57AB4216D41@pgfoundry.org> Date: Mon, 16 Jul 2007 13:11:35 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/20 X-Sequence-Number: 9075 Bugs item #1007689, was opened at 2007-07-16 13:11 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1007689&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Martin Evans (mjevans) Assigned to: Nobody (None) Summary: Returns ODBC 2.0 column names for SQLTables calls but reports ODBC 3.0 Initial Comment: Using the Postgres ODBC Driver 08.01.0200 on Linux/Ubuntu it fails some of the Perl DBD::ODBC tests. If you call SQLTables and then look at the column names the names for the columns returned are: TABLE_QUALIFIER TABLE_OWNER TABLE_NAME TABLE_TYPE REMARKS but these are ODBC 2 defined column names. As DBD::ODBC asks for ODBC 3.0 and the postgres driver reports it's ODBC version as 03.00 (via SQL_DRIVER_ODBC_VERSION) the returned column names should be: TABLE_CAT TABLE_SCHEM TABLE_NAME TABLE_TYPE REMARKS ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1007689&group_id=1000125