From: | "Dan Langille" <dan(at)langille(dot)org> |
---|---|
To: | "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au> |
Cc: | "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: 7.4 - TODO : alter table drop foreign key |
Date: | 2002-12-05 19:58:38 |
Message-ID: | 3DEF699E.16928.7341866@localhost |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 5 Dec 2002 at 11: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.
I take back the adjective "radical"
> Isn't it identical? The CONSTRAINT <const> is SQL standard optional clause
> for all commands that add constraints.
Except that one is ADD CONSTRAINT, the other is an ADD FOREIGN KEY.
They are similar in nature but different overall.
--
Dan Langille : http://www.langille.org/
From | Date | Subject | |
---|---|---|---|
Next Message | Fernando Nasser | 2002-12-05 20:01:19 | Re: PQnotifies() in 7.3 broken? |
Previous Message | Christopher Kings-Lynne | 2002-12-05 19:52:08 | Re: 7.4 - TODO : alter table drop foreign key |