BUG #5694: Postgres ODBC SQLTables is not working correctly
BUG #5694: Postgres ODBC SQLTables is not working correctly
От:
"Xiaohui Xue" <xiaohui.xue@sap.com>
Дата:
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
Re: BUG #5694: Postgres ODBC SQLTables is not working correctly
От:
Robert Haas <robertmhaas@gmail.com>
Дата:
On Tue, Oct 5, 2010 at 11:56 AM, Xiaohui Xue wrote: > > The following bug has been logged online: > > Bug reference: =A0 =A0 =A05694 > Logged by: =A0 =A0 =A0 =A0 =A0Xiaohui Xue > Email address: =A0 =A0 =A0xiaohui.xue@sap.com > PostgreSQL version: 8.3.4 > Operating system: =A0 Windows > Description: =A0 =A0 =A0 =A0Postgres ODBC SQLTables is not working correc= tly > 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. You may want to report this problem here: http://archives.postgresql.org/pgsql-odbc/ This list is for bugs in core PostgreSQL. --=20 Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company