Re: pg_dump / Unique constraints
От | Philip Warner |
---|---|
Тема | Re: pg_dump / Unique constraints |
Дата | |
Msg-id | 3.0.5.32.20001122192645.02938470@mail.rhyme.com.au обсуждение исходный текст |
Ответ на | pg_dump / Unique constraints ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>) |
Ответы |
RE: pg_dump / Unique constraints
|
Список | pgsql-hackers |
At 15:50 22/11/00 +0800, Christopher Kings-Lynne wrote: >I've been examining the pg_dump source and output, and I've come to the >conclusion that I can modify it so that UNIQUE constraints appear as part of >the CREATE TABLE statement, rather than as a separate CREATE INDEX. ... >Is there any problem with me working on this? I actually don't think it's a good idea to force things to work that way. Perhaps as an *option*, but even then I'd be inclined to append them as a series of 'ALTER TABLE ADD CONSTRAINT...' statements. ---------------------------------------------------------------- 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 по дате отправления: