Here is a diff to info.c in interfaces/odbc that updates SQLForeignKeys to

Bruce Momjian <bruce@momjian.us>

Commit: f8abefe460316f50c6b4c05af1740897463de1ec
Author: Bruce Momjian <bruce@momjian.us>
Date: 2000-12-10T22:59:10Z
Releases: 7.1.1
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:

Michael Fork

Files

PathChange+/−
src/interfaces/odbc/info.c modified +295 −180