Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id DAB719F9F47 for ; Wed, 6 Dec 2006 12:42:42 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 88975-10 for ; Wed, 6 Dec 2006 12:42:26 -0400 (AST) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id 662779F938C for ; Wed, 6 Dec 2006 12:42:27 -0400 (AST) Received: from localhost (unknown [200.46.204.183]) by pgfoundry.org (Postfix) with ESMTP id 5F7C6216E65 for ; Wed, 6 Dec 2006 16:42:27 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 53220-07; Wed, 6 Dec 2006 12:42:09 -0400 (AST) Received: by pgfoundry.org (Postfix, from userid 80) id C6223216E91; Wed, 6 Dec 2006 16:42:09 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1000707 ] SQLTables SQL_ALL_SCHEMAS duplicate schema names Content-type: text/plain; charset=UTF-8 Message-Id: <20061206164209.C6223216E91@pgfoundry.org> Date: Wed, 6 Dec 2006 16:42:09 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/11 X-Sequence-Number: 8458 Bugs item #1000707, was opened at 2006-08-14 21:10 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000707&group_id=1000125 Category: None Group: None >Status: Closed Resolution: None Priority: 3 Submitted By: Farid Zidan (faridz) Assigned to: Hiroshi Inoue (hinoue) Summary: SQLTables SQL_ALL_SCHEMAS duplicate schema names Initial Comment: Executing SQLTables with SQL_ALL_SCHEMAS tabletype parameter the resultset has repeating/duplicate schema names. Should return one row for each schema in the database ---------------------------------------------------------------------- Comment By: Farid Zidan (faridz) Date: 2006-12-04 16:39 Message: This now works. Also [#1000706] works. Thanks. ---------------------------------------------------------------------- Comment By: Hiroshi Inoue (hinoue) Date: 2006-12-04 03:31 Message: Please try the attached dll. Please try it for [#1000706] also. regards, Hiroshi Inoue ---------------------------------------------------------------------- Comment By: Farid Zidan (faridz) Date: 2006-12-01 13:59 Message: I am calling SQLTables: rc = ::SQLTables( pSQL->Gethstmt(), ( SQLCHAR * ) "", //szTableCat, ( SQLSMALLINT ) 0, //cbTableCat, ( SQLCHAR * ) "%", // SQL_ALL_SCHEMAS szTableSchem, ( SQLSMALLINT ) 1, //cbTableSchem, ( SQLCHAR * ) "", //szTableName, ( SQLSMALLINT ) 0, //cbTableName, ( SQLCHAR * ) "", //szTableType, ( SQLSMALLINT ) 0 /*cbTableType*/ ); return code is 0, but then you get SQL_NO_DATA_FOUND when fetching the resultset rows ---------------------------------------------------------------------- Comment By: Hiroshi Inoue (hinoue) Date: 2006-12-01 06:56 Message: How are you calling SQLGetInfo concretely ? regards, Hiroshi Inoue ---------------------------------------------------------------------- Comment By: Farid Zidan (faridz) Date: 2006-12-01 05:08 Message: Driver 8.02.02.00 Now returns no rows at all ---------------------------------------------------------------------- Comment By: Hiroshi Inoue (hinoue) Date: 2006-08-19 00:30 Message: Please try the dll at http://www.geocities.jp/inocchichichi/psqlodbc/index.html . regards, Hiroshi Inoue ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000707&group_id=1000125