Re: Dump only part of a DB

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Dump only part of a DB
Дата
Msg-id 200406100426.i5A4Q1B17161@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Dump only part of a DB  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Tom Lane wrote:
> "David F. Skoll" <dfs@roaringpenguin.com> writes:
> > pg_dump can be used to dump an entire database, or just a single
> > table.  Is there a way to make a consistent dump of more than one
> > table, but less than all of the tables in the database?
>
> This has been discussed before, and I think we had agreed that the
> Right Thing is to make pg_dump accept more than one -t switch (also
> more than one -n switch, at the schema level), and dump anything
> that matches any -t or -n switch.
>
> No one's got round to making this happen, but it seems like it
> should not be a big job.  Want to send in a patch?

Added to TODO:

    * Allow pg_dump to use multiple -t and -n switches

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Dump only part of a DB
Следующее
От: "lise chhay"
Дата:
Сообщение: "select * from groupes" didn't display any data