X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 36FF19FB388 for ; Fri, 18 Aug 2006 10:46:48 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 58122-06 for ; Fri, 18 Aug 2006 13:46:36 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 38FB29FB1EF for ; Fri, 18 Aug 2006 10:46:34 -0300 (ADT) Received: (qmail 22022 invoked from network); 18 Aug 2006 22:46:31 +0900 X-Authentication: inoue was authenticated by ftp.tpf.co.jp at 18 Aug 2006 22:46:31 +0900 Received: from unknown (HELO ?192.168.11.3?) (219.61.40.10) by ftp.tpf.co.jp with SMTP; 18 Aug 2006 22:46:31 +0900 Message-ID: <44E5C4B5.8080602@tpf.co.jp> Date: Fri, 18 Aug 2006 22:46:29 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Blake McBride CC: pgsql-odbc@postgresql.org, David Moore , Ryan Kettrey Subject: Re: SQLForeignKeys bugs References: <7.0.1.0.2.20060817053223.059800d8@mcbride.name> In-Reply-To: <7.0.1.0.2.20060817053223.059800d8@mcbride.name> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200608/59 X-Sequence-Number: 8023 Please try the dll at http://www.geocities.jp/inocchichichi/index.html . regards, Hiroshi Inoue Blake McBride wrote: > > Greetings, > > I am having a number of problems with SQLForeignKeys. > I have tried the PostgreSQL ODBC driver versions on > Windows XP Pro: > > 8.01.01.02 > 8.01.02.00 > 8.02.00.02 > > I am using PostgreSQL 8.1.2 on the same machine. > > The first problem is that the DELETE_RULE field is returning > SQL_CASCADE (0) when it should be > SQL_NO_ACTION(3). In other words, the foreign key > does not have ON DELETE CASCADE yet SQLForeignKeys > return 0 in the DELETE_RULE field when it should be 3. > > The second problem I noticed is that the result set returned > by SQLForeignKeys has duplicate records. This is wrong. > > The third problem is that the FK_NAME field is always blank. > I need this. (I haven't checked PK_NAME but I bet it's blank > too). > > The project I am working on requires this data. > > Thanks. > > Blake McBride > blake@mcbride.name