Foreign Key constraint and Alter Table command

Поиск
Список
Период
Сортировка
От Carlos Felipe Zirbes
Тема Foreign Key constraint and Alter Table command
Дата
Msg-id 002DEF4E7A9FD411A6BD000021498C33030931@TERRA
обсуждение исходный текст
Ответы Re: Foreign Key constraint and Alter Table command  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-general
Hi.
 
I am using postgres 7.0.can't_remember_the_rest and I am not able to add a FK via alter table command. When I try to do it I get an "Feature not implemented" error message. This is what I've been trying to do:
 
alter table foo
add constraint foo_fk
foreign key (a) references foo_2
 
where "a" is a column name in foo.
 
I thought I would be able to add constraints via alter table by using pgsql 7. Was I wrong?
 
Thanks in advance,
Zirbes

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

Предыдущее
От: "Jon Brace"
Дата:
Сообщение: Loading tables into Memory
Следующее
От: Steve Heaven
Дата:
Сообщение: Re: Sql query with partial matching