Re: 7.4 - TODO : alter table drop foreign key

Поиск
Список
Период
Сортировка
Искать
От
Dan Langille
Тема
Re: 7.4 - TODO : alter table drop foreign key
Дата
Msg-id
3DEF3861.24289.673BE7F@localhost
Ответ на
Список
Дерево обсуждения
Re: 7.4 - TODO : alter table drop foreign key Fernando Nasser <fnasser@redhat.com>
Re: 7.4 - TODO : alter table drop foreign key "Dan Langille" <dan@langille.org>
On 5 Dec 2002 at 8:20, Stephan Szabo wrote:

> 
> On Thu, 5 Dec 2002, Dan Langille wrote:
> 
> > We support "alter table add foreign key".  How about supporting
> > "alter table drop foreign key"?
> >
> > - he said as he went to drop a foreign key
> 
> It seems to work for me on my 7.3b2 system with
> alter table  drop constraint ;

Premature send.. sorry

How was that FK added?  How did you determine the constraint name?

How would you do that if the FK was added with the following syntax?

alter table 
add foreign key () references () on update cascade on delete cascade; -- Dan Langille : http://www.langille.org/
В списке pgsql-hackers по дате отправления
От: Dan Langille
Дата:
От: Neil Conway
Дата:
FAQ