Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 8E1CE64FC1C for ; Sun, 4 Jan 2009 00:39:46 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 10607-05 for ; Sun, 4 Jan 2009 00:39:43 -0400 (AST) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by mail.postgresql.org (Postfix) with ESMTP id 6927C64FC12 for ; Sun, 4 Jan 2009 00:39:43 -0400 (AST) Received: from localhost (unknown [200.46.208.211]) by pgfoundry.org (Postfix) with ESMTP id 4864917ADE73 for ; Sun, 4 Jan 2009 04:39:43 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 55733-02; Sun, 4 Jan 2009 00:39:39 -0400 (AST) Received: by pgfoundry.org (Postfix, from userid 80) id 271A617ADE6D; Sun, 4 Jan 2009 04:39:40 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1010397 ] SQLForeignKeys no rows returned Content-type: text/plain; charset=UTF-8 Message-Id: <20090104043940.271A617ADE6D@pgfoundry.org> Date: Sun, 4 Jan 2009 04:39:40 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200901/7 X-Sequence-Number: 9746 Bugs item #1010397, was opened at 2008-05-19 11:58 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010397&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Farid Zidan (faridz) Assigned to: Hiroshi Inoue (hinoue) Summary: SQLForeignKeys no rows returned Initial Comment: PostgreSQL ANSI 8.03.02.00 Windows XP. This was not an issue with 8.02 driver SQLRETURN rc = ::SQLForeignKeys( pSQL->Gethstmt(), NULL, 0, NULL, 0, NULL, 0, ( SQLCHAR * ) ( *szTableCat ? szTableCat : NULL ), ( SQLSMALLINT ) cbTableCat, ( SQLCHAR * ) ( *szTableSchem ? szTableSchem : NULL ), ( SQLSMALLINT ) cbTableSchem, ( SQLCHAR * ) szTableName, ( SQLSMALLINT ) cbTableName ); ---------------------------------------------------------------------- >Comment By: Farid Zidan (faridz) Date: 2009-01-03 23:39 Message: Verified fix using 8.03.04.01. Looks good. Thanks. ---------------------------------------------------------------------- Comment By: Hiroshi Inoue (hinoue) Date: 2009-01-03 21:55 Message: OK I've just committed another change. Please try the the drivers on testing for 8.3.0401 at http://www.geocities.jp/inocchichichi/psqlodbc/index.html ? ---------------------------------------------------------------------- Comment By: Farid Zidan (faridz) Date: 2008-12-31 11:33 Message: Tested again with 8.03.04 and this appears to be fixed. However, the update rule and delete rule info is incorrect. Both are returning 'no action' instead of 'restrict' ---------------------------------------------------------------------- Comment By: Hiroshi Inoue (hinoue) Date: 2008-05-23 20:06 Message: Hmm seems there were some implmentation changes around referential integrity at server side. Could you please try the drivers on testing for 8.3.0201 at http://www.geocities.jp/inocchichichi/psqlodbc/index.html . ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010397&group_id=1000125