Re: BUG #1079: ALTER TABLE does not add foreign key

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: vova(at)densoft(dot)com(dot)ua
Cc: "PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #1079: ALTER TABLE does not add foreign key
Date: 2004-02-11 19:17:44
Message-ID: 7198.1076527064@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org> writes:
> ALTER TABLE tablename ADD COLUMN columnname INT CONSTRAIN cntrname
> REFERENCES tablename2(col)
> adds the column But it does not add the foreign key constrain.

This was fixed as of 7.3.3.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PostgreSQL Bugs List 2004-02-11 21:32:50 BUG #1080: Ref #1045 resolved
Previous Message Richard Huxton 2004-02-11 18:44:56 Re: BUG #1079: ALTER TABLE does not add foreign key