Thread: How to create Foreign Keys??

How to create Foreign Keys??

From
"Soporte U.V."
Date:
How can I create a foreing key with pgadmin III. I have postgresql 7.4.3 
in a Linux Box (FC1). I see the option in the create column (new foreign 
key) window, but the referencing field does not accept any entry.

T.I.A.



Re: How to create Foreign Keys??

From
Andreas Pflug
Date:
Soporte U.V. wrote:
> How can I create a foreing key with pgadmin III. I have postgresql 7.4.3 
> in a Linux Box (FC1). I see the option in the create column (new foreign 
> key) window, but the referencing field does not accept any entry.

You probably didn't select a referenced table before.

Regards,
Andreas


Re: How to create Foreign Keys??

From
"Luis F. Araya"
Date:
Thanks for answering. I select the referenced table, and the referencing 
field is filled, but now the Add buttom is disabled.

TIA
Luis

Andreas Pflug wrote:

> Soporte U.V. wrote:
>
>> How can I create a foreing key with pgadmin III. I have postgresql 
>> 7.4.3 in a Linux Box (FC1). I see the option in the create column 
>> (new foreign key) window, but the referencing field does not accept 
>> any entry.
>
>
> You probably didn't select a referenced table before.
>
> Regards,
> Andreas
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>