Re: Cannot Create Foreign Key

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: Cannot Create Foreign Key
Дата
Msg-id 414EF3FE.7010407@pse-consulting.de
обсуждение исходный текст
Ответ на Re: Cannot Create Foreign Key  (Richard_D_Levine@raytheon.com)
Список pgadmin-support
Richard_D_Levine@raytheon.com wrote:
> I haven't worked with PostgreSQL much at all yet, but doesn't there need to
> be a primary key constraint on the emp_address_tb's emp_id column in order
> to set up the foreign key relation between the two emp_id columns? 

Sort of, there has to be a unique index (which a pk by design is).
in a future version (1.3/1.4) we might have some autodetect mechanism 
for those columns.

Regards,
Andreas


В списке pgadmin-support по дате отправления:

Предыдущее
От: Richard_D_Levine@raytheon.com
Дата:
Сообщение: Re: Cannot Create Foreign Key
Следующее
От: Richard_D_Levine@raytheon.com
Дата:
Сообщение: Re: Cannot Create Foreign Key