pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Blake McBride <blake@mcbride.name>
To: Hiroshi Inoue <inoue@tpf.co.jp>
Cc: pgsql-odbc@postgresql.org
Cc: David Moore <dmoore@arahant.com>
Cc: Ryan Kettrey <rkettrey@arahant.com>
Subject: Re: SQLForeignKeys bugs
Date: Fri, 18 Aug 2006 16:10:48 -0500
Message-ID: <7.0.1.0.2.20060818160729.05832588@mcbride.name> (raw)
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>


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
>>
>
>

view thread (4+ messages)

Message-ID: <7.0.1.0.2.20060818160729.05832588@mcbride.name>
Permalink:  ../7.0.1.0.2.20060818160729.05832588@mcbride.name/
Also on:    postgresql.org/message-id/7.0.1.0.2.20060818160729.05832588@mcbride.name

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: blake@mcbride.name, inoue@tpf.co.jp, dmoore@arahant.com, rkettrey@arahant.com
  Subject: Re: SQLForeignKeys bugs
  In-Reply-To: <7.0.1.0.2.20060818160729.05832588@mcbride.name>
  References: <7.0.1.0.2.20060817053223.059800d8@mcbride.name> <44E5C4B5.8080602@tpf.co.jp> <44E5C69C.3010601@tpf.co.jp> <7.0.1.0.2.20060818160729.05832588@mcbride.name>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox