BUG #1079: ALTER TABLE does not add foreign key - Mailing list pgsql-bugs

From PostgreSQL Bugs List
Subject BUG #1079: ALTER TABLE does not add foreign key
Date
Msg-id 20040211172930.D6E07CF4804@www.postgresql.com
Whole thread Raw
Responses Re: BUG #1079: ALTER TABLE does not add foreign key  (Richard Huxton <dev@archonet.com>)
Re: BUG #1079: ALTER TABLE does not add foreign key  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      1079
Logged by:          Vladimir Sitarchuk

Email address:      vova@densoft.com.ua

PostgreSQL version: 7.3

Operating system:   Red Hat 9

Description:        ALTER TABLE does not add foreign key

Details:

ALTER TABLE tablename ADD COLUMN columnname INT CONSTRAIN cntrname
REFERENCES tablename2(col)
adds the column But it does not add the foreign key constrain.

pgsql-bugs by date:

Previous
From: "PostgreSQL Bugs List"
Date:
Subject: BUG #1078: Ref #1045 hostname lookup does not work
Next
From: Richard Huxton
Date:
Subject: Re: BUG #1079: ALTER TABLE does not add foreign key