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 AA626D1B4D2 for ; Fri, 30 Jan 2004 17:19:44 +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 21016-04 for ; Fri, 30 Jan 2004 13:19:44 -0400 (AST) Received: from mail.intersystems.com (mail.intersys.com [198.133.74.1]) by svr1.postgresql.org (Postfix) with ESMTP id 05824D1B4A4 for ; Fri, 30 Jan 2004 13:19:43 -0400 (AST) Message-Id: <5.1.0.14.2.20040130121811.01f35758@wheresmymailserver.com> X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 30 Jan 2004 12:21:32 -0500 To: pgsql-odbc@postgresql.org From: Jon Willeke Subject: SQLTables() doesn't support enumeration Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/115 X-Sequence-Number: 3744 I'm using ODBCTest 3.510.3513.0 and psqlodbc 07.03.0200 on Windows 2000 with PostgreSQL 7.3.2 on SuSE Linux 8.2. From the SQLTables() section in the ODBC Programmer's Reference: "To support enumeration ... the following special semantics are defined for the CatalogName, SchemaName, TableName, and TableType arguments of SQLTables: "If SchemaName is SQL_ALL_SCHEMAS and CatalogName and TableName are empty strings, the result set contains a list of valid schemas for the data source. (All columns except the TABLE_SCHEM column contain NULLs.) ..." Instead of getting the expected list, I get a list of tables.