Re: [GENERAL] What to do with no foreign keys

From: Bruce Tong <zztong(at)laxmi(dot)ev(dot)net>
To: Brian <signal(at)shreve(dot)net>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] What to do with no foreign keys
Date: 1998-07-10 13:13:21
Message-ID: Pine.LNX.3.95.980710091021.27527A-100000@laxmi.ev.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> How can I insure that for example "home_team_name" is one of
> "baseball_team.team_name"?
>
> I have seen in books things like:
>
> PRIMARY KEY: home_team
> FOREIGN KEY: home_team JOIN TO baseball_team.team_name
>
> is there anyway to do this in postgresql?

I asked the same question a week or two ago. If I remember correctly,
foreign keys are not yet part of PostgreSQL, but they will be part of the
next release. It was suggested that it would be appropriate to handle
these sorts of issues within your code at this point.

Bruce Tong | Got me an office; I'm there late at night.
Systems Programmer | Just send me e-mail, maybe I'll write.
Electronic Vision / FITNE |
zztong(at)laxmi(dot)ev(dot)net | -- Joe Walsh for the 21st Century

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Brian 1998-07-10 13:27:07 Re: [GENERAL] What to do with no foreign keys
Previous Message Sferacarta Software 1998-07-10 10:38:18 Re: [GENERAL] What to do with no foreign keys