Here is a diff to info.c in interfaces/odbc that updates SQLForeignKeys to
Bruce Momjian <bruce@momjian.us>
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
| Path | Change | +/− |
|---|---|---|
| src/interfaces/odbc/info.c | modified | +295 −180 |