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? "Scott Marlowe" <smarlowe@g2switchworks.com>
Re: fine tuned database dump/reload? Vivek Khera <vivek@khera.org>
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
FAQ