Re: fine tuned database dump/reload?

Поиск
Список
Период
Сортировка
От Doug Bloebaum
Тема Re: fine tuned database dump/reload?
Дата
Msg-id caa2de8a0510111137p5331d33ek544bd3e7a79fd27a@mail.gmail.com
обсуждение исходный текст
Ответ на Re: fine tuned database dump/reload?  (Bricklen Anderson <BAnderson@PresiNET.com>)
Список pgsql-general
On 10/11/05, Dan Armbrust wrote::
> Now I'm just filling the mailing list with mis-information.  It actually
> ignores all but the last -t flag - so this only allows me to specify one
> table at a time, rather than several tables.

There's always the low-tech option of:

for table in `cat /tmp/table_list.txt`
do
  pg_dump -t $table my_db >> /tmp/my_tables.dmp
done 

It's far from elegant, but it does allow you to dump a specific list of tables.

В списке pgsql-general по дате отправления:

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: exceptions
Следующее
От: Neil Conway
Дата:
Сообщение: Re: PostgreSQL's bug tracker