Re: AW: Proposal: More flexible backup/restore via pg_dump
От | Philip Warner |
---|---|
Тема | Re: AW: Proposal: More flexible backup/restore via pg_dump |
Дата | |
Msg-id | 3.0.5.32.20000629203303.03100c70@mail.rhyme.com.au обсуждение исходный текст |
Ответ на | Re: AW: Proposal: More flexible backup/restore via pg_dump ("Stephan Szabo" <sszabo@kick.com>) |
Список | pgsql-hackers |
At 12:06 28/06/00 -0700, Stephan Szabo wrote: > >This will happen for check constraints, but not for foreign key >constraints... >It actually adds the fk constraints later with CREATE CONSTRAINT TRIGGER >after the data dump is finished. And, if you do separate schema and data >dumps, the wierd statements at the top and bottom of the data dump turn >off triggers and then turn them on again (in the most painful way possible). Thanks for this information! I had not seen those statements before; I have been mistakenly modifying 6.5.3 sources, not 7.0.2. I will incorporate them in my work. Is there any way of also disabling all constraint checking while loading the data? ---------------------------------------------------------------- Philip Warner | __---_____ Albatross Consulting Pty. Ltd. |----/ - \ (A.C.N. 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 по дате отправления: