ALTER TABLE...ADD CONSTRAINT?

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>, "Pgsql-Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: ALTER TABLE...ADD CONSTRAINT?
Date: 2000-11-23 03:12:38
Message-ID: 3.0.5.32.20001123141238.026db610@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 10:21 23/11/00 +0800, Christopher Kings-Lynne wrote:
>
>I'm just asking, because I'm still trying to find something small and
>self-contained I can work on!
>

Is anybody working on:

alter table <table> add constraint <name> primary key(column,...);

or

alter table <table> add constraint <name> unique(column,...);

or

alter table drop constraint

I guess this is not really a small task as it relates to unifying
constraint handling, but for the PK & unique constraints at least, we must
already have code that does the work - all(?) that has to happen is to make
sure the ALTER command calls it...is that right?

----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-11-23 03:44:05 Re: RE: ALTER TABLE...ADD CONSTRAINT?
Previous Message Christopher Kings-Lynne 2000-11-23 03:07:19 RE: ALTER TABLE...ADD CONSTRAINT?