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:
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

hlinnaka/psqlodbc,treasure-data/prestogres-odbc,gavioto/psqlodbc,gavioto/psqlodbc,hlinnaka/psqlodbc,Distrotech/psqlodbc,Distrotech/psqlodbc,treasure-data/prestogres-odbc,hlinnaka/psqlodbc,treasure-data/prestogres-odbc,Distrotech/psqlodbc,gavioto/psqlodbc