Re: pg_dump a specific schema

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pg_dump a specific schema
Дата
Msg-id 200301102145.h0ALjGf11749@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: pg_dump a specific schema  (Neil Conway <neilc@samurai.com>)
Ответы Re: pg_dump a specific schema  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
Neil Conway wrote:
> On Fri, 2003-01-10 at 13:32, Bruce Momjian wrote:
> > I can't think of any logic that would allow a table to be skipped on a
> > dump, same with namespaces.
>
> Uh, what? The issue is that:
>
> pg_dump -t some_non_existent_table_name
>
> produces an empty dump (well, it has a 3 lines of comments, but no SQL).
> Similarly:
>
> pg_dump -n some_non_existent_schema_name
>
> also produces an empty dump. I'm asking if that's the correct behavior:
> perhaps we should throw an error instead?

We certainly should throw an error!

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: pg_dump a specific schema
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: more adequate usage msg: pg_controldata.diff