Re: alter table, add foreign key constraint

From: <bmccoy(at)chapelperilous(dot)net>
To: Matthew Kennedy <mkennedy(at)hssinc(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: alter table, add foreign key constraint
Date: 2000-10-16 14:50:34
Message-ID: Pine.LNX.4.10.10010161048130.1185-100000@chapelperilous.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 17 Oct 2000, Matthew Kennedy wrote:

> Is it possible to perform an alter table with add foreign key constraint
> in PostgreSQL? We are trying to support multiple DBMS in our project by
> keeping to a common, compatible denominator. Oracle, supports such a
> construct. Does (or might) PostgreSQL support this feature?

Yes...

ALTER TABLE <table> ADD <constraint definition>

Brett W. McCoy
http://www.chapelperilous.net
---------------------------------------------------------------------------
Stealing a rhinoceros should not be attempted lightly.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Zeugswetter Andreas SB 2000-10-16 15:15:48 AW: [HACKERS] My new job
Previous Message Andrew Gould 2000-10-16 13:35:13 Re: int8 vs text in odbc link