Re: Adding Foreign Key Constraint To Existing Table - Mailing list pgsql-general

From Rich Shepard
Subject Re: Adding Foreign Key Constraint To Existing Table
Date
Msg-id alpine.LNX.2.00.1107011438430.31349@salmo.appl-ecosys.com
Whole thread Raw
In response to Re: Adding Foreign Key Constraint To Existing Table  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-general
On Fri, 1 Jul 2011, Joshua D. Drake wrote:

> alter table bar add foreign key (id) references foo(id);

   Thanks, Josh. I was close, but not exact.

Rich

pgsql-general by date:

Previous
From: Thom Brown
Date:
Subject: Re: Adding Foreign Key Constraint To Existing Table
Next
From: Thom Brown
Date:
Subject: Re: Adding Foreign Key Constraint To Existing Table