Re: Patch for pg_dump: Multiple -t options and new -T option

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Patch for pg_dump: Multiple -t options and new -T option
Дата
Msg-id 200407202300.i6KN0SN15276@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Patch for pg_dump: Multiple -t options and new -T  ("David F. Skoll" <dfs@roaringpenguin.com>)
Ответы Re: Patch for pg_dump: Multiple -t options and new -T  ("David F. Skoll" <dfs@roaringpenguin.com>)
Список pgsql-patches
David F. Skoll wrote:
> On Tue, 20 Jul 2004, Tom Lane wrote:
>
> > (BTW, does the patch handle multiple -n switches?)
>
> No, it doesn't.  I can look into that if you like.  The patch was
> entirely to satisfy a need some of our customers have.  The -T switch
> does fill a real need for our customers; our product has a couple of tables
> that aren't critical if they aren't backed up, but as the product evolves,
> we occasionally add more tables.  So it's easier to use a -T switch to
> say what *not* to back up, than multiple -t switches to say what to back up.

Ah, I see in TODO:

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

so the problem with lack of multiple -n parameters was already known.

Should we allow -n to affect subsequent -t parameters, so:

    -n schema1 -t tab1 -n schema2 -t tab2

does schema1.tab1 and schema2.tab2?

--
  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-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: FAQ_MSWIN patch
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: win32 readline