how to Adding a foreign key to a table already created??? - Mailing list pgsql-chat

From leon alexander
Subject how to Adding a foreign key to a table already created???
Date
Msg-id 001601c36983$8f9c8e20$4f6f0150@ninjaiilfmsrao
Whole thread Raw
List pgsql-chat
hi there,
i have already created a table.The next table (artist), i would like to create requires a foreign key (cd_no) from a table (cd) which cannot be created until the table (artist) is made. Can i add the foreign key (cd_no) too the 'artist' table later???
leon

pgsql-chat by date:

Previous
From:
Date:
Subject: Re: kylix3 connection problem
Next
From: Nico King
Date:
Subject: Question about Scripting in Postgresql.