Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id eBCFeEm88289 for ; Tue, 12 Dec 2000 10:40:14 -0500 (EST) (envelope-from pgsql-interfaces-owner@postgresql.org) Received: from thor.tht.net (thor.tht.net [209.47.145.4]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eBAN8GZ65915; Sun, 10 Dec 2000 18:08:16 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: from candle.pha.pa.us (pgman@candle.navpoint.com [162.33.245.46]) by thor.tht.net (8.9.3/8.9.3) with ESMTP id SAA40748; Sun, 10 Dec 2000 18:59:17 GMT (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id RAA08603; Sun, 10 Dec 2000 17:59:10 -0500 (EST) From: Bruce Momjian Message-Id: <200012102259.RAA08603@candle.pha.pa.us> Subject: Re: [PATCHES] Diff to fix SQLForeignKeys in ODBC In-Reply-To: "from Michael Fork at Dec 6, 2000 00:00:09 am" To: Michael Fork Date: Sun, 10 Dec 2000 17:59:10 -0500 (EST) CC: pgsql-patches@postgresql.org, pgsql-interfaces@postgresql.org X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200012/89 X-Sequence-Number: 435 Applied. Thanks. > Here is a diff to info.c in interfaces/odbc that updates SQLForeignKeys to > return foreign key information based on the pg_trigger system table. I > have tested the patch with (what I believe) is all possible > primary/foreign key combinations -- however I may have missed some, so if > anyone feels like taking the patch for a test drive, here are some useful > links: > > SQLForeignKeys specs > http://msdn.microsoft.com/library/default.asp?URL=/library/psdk/dasdk/odch7j8z.htm > > Program to query a database using ODBC calls > http://www.microsoft.com/data/download_260SDK.htm > (this is the SDK, once it is installed, goto Samples\ODBC and look at > Admin and Odbctest) > > Michael Fork - CCNA - MCP - A+ > Network Support - Toledo Internet Access - Toledo Ohio > Content-Description: [ Attachment, skipping... ] -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026