pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: noreply@pgfoundry.org
To: noreply@pgfoundry.org
Subject: [ psqlodbc-Bugs-1007689 ] Returns ODBC 2.0 column names for SQLTables calls but reports ODBC 3.0
Date: Mon, 16 Jul 2007 13:11:35 +0000 (UTC)
Message-ID: <20070716131135.57AB4216D41@pgfoundry.org> (raw)

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



Message-ID: <20070716131135.57AB4216D41@pgfoundry.org>
Permalink:  ../20070716131135.57AB4216D41@pgfoundry.org/
Also on:    postgresql.org/message-id/20070716131135.57AB4216D41@pgfoundry.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: noreply@pgfoundry.org
  Subject: Re: [ psqlodbc-Bugs-1007689 ] Returns ODBC 2.0 column names for SQLTables calls but reports ODBC 3.0
  In-Reply-To: <20070716131135.57AB4216D41@pgfoundry.org>
  References: <20070716131135.57AB4216D41@pgfoundry.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox