Foreign Keys

From: Michael Davis <michael(dot)davis(at)prevuenet(dot)com>
To: "'pgsql-interfaces(at)postgreSQL(dot)org'" <pgsql-interfaces(at)postgreSQL(dot)org>, pgsql postgres <pgsql-sql(at)postgreSQL(dot)org>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Foreign Keys
Date: 1999-02-25 15:32:20
Message-ID: 93C04F1F5173D211A27900105AA8FCFC1451F4@lambic.prevuenet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces pgsql-sql

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
conclusion on the SQL statement that Access sent through ODBC when looking
up records for the sub form. The where clause of the SQL statement was
based on the primary key of the child or detail table. The where clause
needs to be based on the column that is linked to the parent or master
table. I already have indexes installed on both the primary key and the
field that links to the master/parent table.

I am willing to explore a work around and/or help with these enhancements.
This issue, at least for the moment, appears to be a show stopper for me.
Any Suggestions?

Thanks, Michael

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Byron Nikolaidis 1999-02-25 15:37:57 Re: [INTERFACES] Foreign Keys
Previous Message The Hermit Hacker 1999-02-25 15:14:39 Re: [HACKERS] postmaster failure with 2-23 snapshot

Browse pgsql-interfaces by date

  From Date Subject
Next Message Byron Nikolaidis 1999-02-25 15:37:57 Re: [INTERFACES] Foreign Keys
Previous Message Tom Lane 1999-02-25 15:01:53 Re: [INTERFACES] What's that query limit again?

Browse pgsql-sql by date

  From Date Subject
Next Message Byron Nikolaidis 1999-02-25 15:37:57 Re: [INTERFACES] Foreign Keys
Previous Message Gregory Holston 1999-02-25 15:21:44 Re: [SQL] Unable to read from a view