| От | Tom Lane |
|---|---|
| Тема | Re: Dump all except some tables? |
| Дата | |
| Msg-id | 16900.1128606682@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Dump all except some tables? (WireSpot <wirespot@gmail.com>) |
| Ответы |
Re: Dump all except some tables?
|
| Список | pgsql-general |
WireSpot <wirespot@gmail.com> writes:
> On 10/6/05, A. Kretschmer <akretschmer@despammed.com> wrote:
>> You can use the -t more than once.
>>
>> pg_dump -U foobar database -t foo -t foo1
> Yes, pg_dump doesn't complain. But it only takes the first one into
> consideration. I only get one table in the dump.
Right. That's on the TODO list but not done yet :-(.
Berend gave you the right advice: dump the whole database using
pg_dump -Fc, then use pg_restore's features for selective restore.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера