Re: CONSTRAINT ... FOREIGN KEY - Mailing list pgsql-novice

From
Subject Re: CONSTRAINT ... FOREIGN KEY
Date
Msg-id 20050503023009.36421.qmail@web52408.mail.yahoo.com
Whole thread Raw
In response to CONSTRAINT ... FOREIGN KEY  (tövis <tovises@freemail.hu>)
List pgsql-novice
--- t�vis <tovises@freemail.hu> wrote:
> Creating/adding a "FOREIGN KEY" creates any "real"
> key sequencies?

tovis, i'm not sure of the technical details, but a
link is created between the foreign key and the column
it references.

> Foreign key constraint became a key - seem to me,
> but what about the foreign table, there is also
> created a "seemless" key or I should create somthing
> (of course if it is not the primery key) - index?
> Sincerelly
>     tovis

the foreign key should most definitely reference
another column in another table.

your question is a little hard for me to understand -
i hope i answered it.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

pgsql-novice by date:

Previous
From:
Date:
Subject: Re: Foreign Key Problem
Next
From: Tom Lane
Date:
Subject: Re: Purpose of pgsql/data/global directory? - permissions error