X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 1B2BF9FB20F for ; Fri, 18 Aug 2006 18:30:04 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 94798-04-2 for ; Fri, 18 Aug 2006 18:29:54 -0300 (ADT) X-Greylist: delayed 00:19:33.126035 by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 3179E9FB3FE for ; Fri, 18 Aug 2006 18:29:50 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from mail.arahant.com (mail.arahant.com [207.191.101.92]) by svr4.postgresql.org (Postfix) with ESMTP id D635A5AF034 for ; Fri, 18 Aug 2006 21:10:15 +0000 (GMT) Received: from Blake-Alien.mcbride.name (unknown [192.168.1.104]) by mail.arahant.com (Postfix) with ESMTP id 342BB23221; Fri, 18 Aug 2006 16:10:13 -0500 (CDT) Message-Id: <7.0.1.0.2.20060818160729.05832588@mcbride.name> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Fri, 18 Aug 2006 16:10:48 -0500 To: Hiroshi Inoue From: Blake McBride Subject: Re: SQLForeignKeys bugs Cc: pgsql-odbc@postgresql.org, David Moore , Ryan Kettrey In-Reply-To: <44E5C69C.3010601@tpf.co.jp> References: <7.0.1.0.2.20060817053223.059800d8@mcbride.name> <44E5C4B5.8080602@tpf.co.jp> <44E5C69C.3010601@tpf.co.jp> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_23243750==.ALT" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.375 tagged_above=0 required=5 tests=HTML_30_40, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200608/65 X-Sequence-Number: 8029 --=====================_23243750==.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed Dear Hiroshi Inoue, The files in PSQLODBCA.ZIP did not help at all. The files in PSQLODBC35W.ZIP fixed the DELETE_RULE problem and the missing FK_NAME problems. However, I still experience duplicate records in the return set. Thank you. Blake McBride At 08:54 AM 8/18/2006, Hiroshi Inoue wrote: >Hiroshi Inoue wrote: >>Please try the dll at >> http://www.geocities.jp/inocchichichi/index.html . >Oops my mistake. The URL is >http://www.geocities.jp/inocchichichi/psqlodbc/index.html . > >regards, >Hiroshi Inoue >> >>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 >> >>---------------------------(end of broadcast)--------------------------- >>TIP 1: if posting/reading through Usenet, please send an appropriate >> subscribe-nomail command to majordomo@postgresql.org so that your >> message can get through to the mailing list cleanly >> > > --=====================_23243750==.ALT Content-Type: text/html; charset="us-ascii"
Dear Hiroshi Inoue,

The files in PSQLODBCA.ZIP did not help at all.

The files in PSQLODBC35W.ZIP fixed the DELETE_RULE problem
and the missing FK_NAME problems.  However, I still experience
duplicate records in the return set.

Thank you.

Blake McBride


At 08:54 AM 8/18/2006, Hiroshi Inoue wrote:
Hiroshi Inoue wrote:
Please try the dll at
  http://www.geocities.jp/inocchichichi/index.html .
Oops my mistake. The URL is
http://www.geocities.jp/inocchichichi/psqlodbc/index.html .

regards,
Hiroshi Inoue

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

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@postgresql.org so that your
      message can get through to the mailing list cleanly



--=====================_23243750==.ALT--