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)
Список
Дерево обсуждения
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::
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.
> 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
В списке pgsql-general по дате отправления