| От | Richard Huxton |
|---|---|
| Тема | Re: question about pg_dump -a |
| Дата | |
| Msg-id | 46FCB72E.1080609@archonet.com обсуждение |
| Ответ на | question about pg_dump -a (Ottavio Campana <ottavio@campana.vi.it>) |
| Ответы |
Re: question about pg_dump -a
|
| Список | pgsql-general |
Ottavio Campana wrote: > > Is there a way to export tables in order, so that dependencies are > always met? reading the manpage of pg_dump I found the -Fc flag, but I > haven't understood if it is good for me and how it works. Or is there a > way to relax constraints while loading data? Try a pg_dump with -Fc and then pg_restore --data-only. If all else fails, you can control item-by-item what gets restored by producing a list from pg_restore (--list), commenting out lines and then using it as a specification with (--use-list). See manuals for full details. -- Richard Huxton Archonet Ltd
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера