Lists: | pgsql-interfacespgsql-patches |
---|
From: | Michael Fork <mfork(at)toledolink(dot)com> |
---|---|
To: | pgsql-patches(at)postgresql(dot)org |
Cc: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | Diff to fix SQLForeignKeys in ODBC |
Date: | 2000-12-06 05:00:09 |
Message-ID: | Pine.BSI.4.21.0012052333020.21333-200000@glass.toledolink.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-interfaces pgsql-patches |
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
Attachment | Content-Type | Size |
---|---|---|
info.c.diff | text/plain | 23.6 KB |
From: | Michael Fork <mfork(at)toledolink(dot)com> |
---|---|
To: | pgsql-patches(at)postgresql(dot)org |
Cc: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: [PATCHES] Diff to fix SQLForeignKeys in ODBC |
Date: | 2000-12-06 05:08:27 |
Message-ID: | Pine.BSI.4.21.0012060007470.25185-200000@glass.toledolink.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-interfaces pgsql-patches |
Oops, had my diff args backwards -- here is the correct patch...
Michael Fork - CCNA - MCP - A+
Network Support - Toledo Internet Access - Toledo Ohio
On Wed, 6 Dec 2000, Michael Fork wrote:
> 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
>
>
Attachment | Content-Type | Size |
---|---|---|
info.c.diff | text/plain | 23.5 KB |
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Michael Fork <mfork(at)toledolink(dot)com> |
Cc: | pgsql-patches(at)postgresql(dot)org, pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: [PATCHES] Diff to fix SQLForeignKeys in ODBC |
Date: | 2000-12-10 22:59:10 |
Message-ID: | 200012102259.RAA08603@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-interfaces pgsql-patches |
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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026