foreign key

From: "Haris" <fbogdanovic(at)xnet(dot)hr>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: foreign key
Date: 2011-03-16 14:04:56
Message-ID: 2F2357F81BCB4F208956DB336261195E@komp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

How to make a foreign key in pgAdmin ?
I want to make a foreign key that references
a primary key.
A primary key is of type "serial",
does that mean that foreign key should be "integer" or
some other type ?

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2011-03-16 14:22:27 Re: diference between calling a function in select clause and from clause
Previous Message siva kiran balijepalli 2011-03-16 06:47:52 diference between calling a function in select clause and from clause