Re: pg_dump more than one table in one command?

Поиск
Список
Период
Сортировка
От Harold A. Giménez Ch.
Тема Re: pg_dump more than one table in one command?
Дата
Msg-id c807ef1a0810061424s148345e4s878c437dc78e0c1d@mail.gmail.com
обсуждение исходный текст
Ответ на pg_dump more than one table in one command?  (Emi Lu <emilu@encs.concordia.ca>)
Ответы Re: pg_dump more than one table in one command?  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Список pgsql-sql
You must specify --table (or -t) once for each of the tables, ie:

pg_dump -h machineName -U username --inserts --column-inserts --file=dump.sql --table=t1 --table=t2 ..... ..... --table=tN -d databaseName ;

-t t1 -t t2 -t t3

On Mon, Oct 6, 2008 at 5:02 PM, Emi Lu <emilu@encs.concordia.ca> wrote:
Good morning,

Under postgreSQL 8.0, could someone tell me how to pg_dump more than one tables at the same time please?

I tried to do something like:

pg_dump -h machineName -U username --inserts --column-inserts --file=dump.sql --table=t1 t2 ... ...tN -d databaseName ;

Thanks a lot!

--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql

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

Предыдущее
От: Emi Lu
Дата:
Сообщение: pg_dump more than one table in one command?
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: pg_dump more than one table in one command?