Re: SQLForeignKeys bugs - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: SQLForeignKeys bugs
Date
Msg-id 44E5C4B5.8080602@tpf.co.jp
Whole thread Raw
In response to SQLForeignKeys bugs  (Blake McBride <blake@mcbride.name>)
Responses Re: SQLForeignKeys bugs  (Hiroshi Inoue <inoue@tpf.co.jp>)
List pgsql-odbc
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

pgsql-odbc by date:

Previous
From:
Date:
Subject: [ psqlodbc-Bugs-1000699 ] Problem creating TableAdapter with WHERE parameter
Next
From: Hiroshi Inoue
Date:
Subject: Re: SQLForeignKeys bugs