Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id AFEAB1336971 for ; Wed, 6 Oct 2010 23:04:53 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 87094-06 for ; Thu, 7 Oct 2010 02:04:48 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.postnewspapers.com.au (202-89-185-120.static.dsl.amnet.net.au [202.89.185.120]) by mail.postgresql.org (Postfix) with ESMTP id 7E83A13364DE for ; Wed, 6 Oct 2010 23:04:43 -0300 (ADT) Received: from [10.0.0.53] (wallace.localnet [10.0.0.53]) by mail.postnewspapers.com.au (Postfix) with ESMTP id 40B65AEB20 for ; Thu, 7 Oct 2010 10:04:39 +0800 (WST) Message-ID: <4CAD2AB7.1040407@postnewspapers.com.au> Date: Thu, 07 Oct 2010 10:04:39 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: [BUGS] BUG #5694: Postgres ODBC SQLTables is not working correctly X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_SORBS_DUL=0.001 X-Spam-Level: X-Archive-Number: 201010/2 X-Sequence-Number: 10447 Hi folks This request popped up on the -bugs list, and hasn't seen any response. I don't really do/know ODBC, but it looks like a reasonable concern, so I thought I'd pass it on in in case there's nobody equipped to deal with it reading -bugs. Original message follows. -------- Original Message -------- Subject: [BUGS] BUG #5694: Postgres ODBC SQLTables is not working correctly Date: Tue, 5 Oct 2010 15:56:17 GMT From: Xiaohui Xue To: pgsql-bugs@postgresql.org The following bug has been logged online: Bug reference: 5694 Logged by: Xiaohui Xue Email address: xiaohui.xue@sap.com PostgreSQL version: 8.3.4 Operating system: Windows Description: Postgres ODBC SQLTables is not working correctly Details: Hi, I'm using PostgreSQL ODBC Unicode (version 8.01.02.00) to connect to a PostgreSQL server (version 8.3.4). Following ODBC specification, when ODBC SQLTables is called with - SchemaName is SQL_ALL_SCHEMAS - 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.) http://msdn.microsoft.com/en-us/library/ms711831%28VS.85%29.aspx But PostgreSQL ODBC returns still the list of tables. As result, we get a list of duplicated schemas, as many times as the number of the tables in the schema. Thanks, Xiaohui XUE -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs