Re: 7.4 - TODO : alter table drop foreign key

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: 7.4 - TODO : alter table drop foreign key
Дата
Msg-id 1039119022.71320.2.camel@jester
обсуждение исходный текст
Ответ на Re: 7.4 - TODO : alter table drop foreign key  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-hackers
On Thu, 2002-12-05 at 14:52, Christopher Kings-Lynne wrote:
> > > > Thanks.  I guess I should rename my thread to 7.4 - TODO : allow
> > > > constraint names when using the "ALTER TABLE <table> ADD FOREIGN KEY"
> > > > syntax.
> > >
> > > You can do that now.
> > >
> > > ALTER TABLE <table> ADD CONSTRAINT <const> FOREIGN KEY ....
> >
> > That I know.  That syntax is radically different from that proposed.
>
> Isn't it identical?  The CONSTRAINT <const> is SQL standard optional clause
> for all commands that add constraints.

Not to mention the same as the CREATE TABLE syntax for constraints that
we already have.

--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

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

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: 7.4 - TODO : alter table drop foreign key
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 7.3 pg_relcheck oddness