RE: [INTERFACES] 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: RE: [INTERFACES] Foreign Keys
Date: 1999-02-25 16:45:41
Message-ID: 93C04F1F5173D211A27900105AA8FCFC1451F8@lambic.prevuenet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces pgsql-sql

Excellent! I will start working on it.

-----Original Message-----
From: Byron Nikolaidis [SMTP:byronn(at)insightdist(dot)com]
Sent: Thursday, February 25, 1999 8:38 AM
To: Michael Davis
Cc: 'pgsql-interfaces(at)postgreSQL(dot)org'; pgsql postgres;
pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] Foreign Keys

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

Browse pgsql-hackers by date

  From Date Subject
Next Message Brian P Millett 1999-02-25 16:50:23 Re: [HACKERS] postmaster failure with 2-23 snapshot
Previous Message Angelos Karageorgiou 1999-02-25 15:41:50 Re: [HACKERS] VACUUM ANALYZE problem on linux

Browse pgsql-interfaces by date

  From Date Subject
Next Message Michael Meskes 1999-02-25 18:44:26 Re: [INTERFACES]- SELECT statement
Previous Message Byron Nikolaidis 1999-02-25 15:37:57 Re: [INTERFACES] Foreign Keys

Browse pgsql-sql by date

  From Date Subject
Next Message Ingrith Andrea Correa Vargas 1999-02-25 18:56:07 CREATE TABLE
Previous Message Byron Nikolaidis 1999-02-25 15:37:57 Re: [INTERFACES] Foreign Keys