BUG #1492: PostgreSQL ODBC error - Mailing list pgsql-bugs

From Rong Wang
Subject BUG #1492: PostgreSQL ODBC error
Date
Msg-id 20050221043828.8893DF0AC6@svr2.postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged online:

Bug reference:      1492
Logged by:          Rong Wang
Email address:      rong@ozdocs.com.au
PostgreSQL version: 8
Operating system:   Windows 2003
Description:        PostgreSQL ODBC error
Details:

ODBC having an open nature allows client application to query SQL Syntax
capabilities of the database. The ODBC CK (an aplication using ODBC)uses
this to make sure it generates the correct syntax. When creating indexes it
asks the database if schema names should be used. PostgreSQL indicates they
should be used. When we do this we get a syntax error.

The technical detail:

When calling SQLGetInfo with the SQL_SCHEMA_USAGE InfoType it returns a
value with the SQL_SU_INDEX_DEFINITION set. It looks like this should not be
set.

pgsql-bugs by date:

Previous
From: "Johann Gregorich"
Date:
Subject: BUG #1484: client gets the wrong character set
Next
From: "Alexis Wilke"
Date:
Subject: BUG #1491: Getting an "undefined symbol" when loading contrib mod.