ALTER TABLE...ADD CONSTRAINT?
От | Philip Warner |
---|---|
Тема | ALTER TABLE...ADD CONSTRAINT? |
Дата | |
Msg-id | 3.0.5.32.20001123141238.026db610@mail.rhyme.com.au обсуждение исходный текст |
Ответ на | RE: pg_dump / Unique constraints ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>) |
Ответы |
RE: ALTER TABLE...ADD CONSTRAINT?
|
Список | 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 |/
В списке pgsql-hackers по дате отправления: