Received: from u1.abs.net (root@u1.abs.net [207.114.0.131]) by hub.org (8.9.2/8.9.1) with ESMTP id LAA01639 for ; Thu, 25 Feb 1999 11:16:28 -0500 (EST) (envelope-from byronn@insightdist.com) Received: from insightdist.com (nobody@localhost) by u1.abs.net (8.9.0/8.9.0) with UUCP id KAA04853 for pgsql-interfaces@postgreSQL.org; Thu, 25 Feb 1999 10:50:12 -0500 (EST) X-Authentication-Warning: u1.abs.net: nobody set sender to insightdist.com!byronn using -f Received: from ceodev by insightdist.com (AIX 3.2/UCB 5.64/4.03) id AA29475; Thu, 25 Feb 1999 10:36:23 -0500 Received: from byronn by ceodev (AIX 4.1/UCB 5.64/4.03) id AA61846; Thu, 25 Feb 1999 10:36:22 -0500 Message-Id: <36D56E55.5D42F476@insightdist.com> Date: Thu, 25 Feb 1999 10:37:57 -0500 From: Byron Nikolaidis X-Mailer: Mozilla 4.05 [en] (Win95; I) Mime-Version: 1.0 To: Michael Davis Cc: "'pgsql-interfaces@postgreSQL.org'" , pgsql postgres , pgsql-hackers@postgreSQL.org Subject: Re: [INTERFACES] Foreign Keys References: <93C04F1F5173D211A27900105AA8FCFC1451F4@lambic.prevuenet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Michael Davis wrote: > What is the possibility of recording foreign keys (a partial foreign key > implementation) in the database such that the ODBC interface can correctly > report them to client applications? This would require an enhancement to > Postgres and to the ODBC driver for Postgres. I have a problem with Access > 97 not working properly with forms that contain sub forms representing > parent/child or master/detail tables. For example: orders and orderlines. > I think this is caused by the lack of foreign key support. I am basing this > The driver does support SQLForeignKeys. It does say it supports this function in SQLFunctions. However, the current implementation is based on the SPI/trigger stuff from the pg_trigger table. If you don't have any trigger info, then SQLForeignKeys will not report anything. This is most likely the problem. Byron