Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 97C07650010 for ; Fri, 8 Aug 2008 20:26:28 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 34007-07 for ; Fri, 8 Aug 2008 20:26:21 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 161FB64FF9E for ; Fri, 8 Aug 2008 20:26:24 -0300 (ADT) Received: (qmail 26907 invoked from network); 9 Aug 2008 08:26:21 +0900 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 9 Aug 2008 08:26:21 +0900 Received: from unknown (HELO ?127.0.0.1?) (219.61.40.6) by sd.tpf.co.jp with SMTP; 9 Aug 2008 08:26:21 +0900 Message-ID: <489CD59E.2070406@tpf.co.jp> Date: Sat, 09 Aug 2008 08:24:14 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: J.Kraaijeveld@Askesis.nl CC: pgsql-odbc@postgresql.org Subject: Re: Should/does SQLForeignKeys work (8.03.02)? References: <1218095464.13123.247.camel@panoramix.askesis.nl> In-Reply-To: <1218095464.13123.247.camel@panoramix.askesis.nl> 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=2.125 tagged_above=0 required=5 tests=DNS_FROM_RFC_BOGUSMX=2.125 X-Spam-Level: ** X-Archive-Number: 200808/4 X-Sequence-Number: 9564 Joost Kraaijeveld wrote: > Hi, > > I am trying to retrieve the foreign keys of/to a PostgreSQL table > (PostgreSQL ODBC 8.03.02, PostgreSQL 8.3.3, unixodbc 2.2.11) using ODBC. > But whatever I try I do not get any results. Seems the server side implementation of foreign keys was changed in 8.3 and 8.3.02 ODBC drivers didn't know it. I beleive the bug was fixed in 8.3.0201. regards, Hiroshi Inoue