Re: pg_dump a specific schema

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pg_dump a specific schema
Дата
Msg-id 200301101832.h0AIWu500526@candle.pha.pa.us
обсуждение исходный текст
Ответ на 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:
> This patch allows pg_dump to dump the contents of a specific schema, and
> updates the documentation for pg_dump.
>
> I used the '-n' and '--namespace' command-line arguments. I did some
> limited testing and it seems to work fine, but there may be some bugs
> lurking in it...
>
> BTW, If the user specifies a non-existent namespace, what should pg_dump
> do? ISTM that printing an error message and aborting the dump is
> probably best, but presently non-existent namespaces are ignored, since
> -t follows a similar policy. Should we change both of these?

I can't think of any logic that would allow a table to be skipped on a
dump, same with namespaces.

--
  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
Дата:
Сообщение: pg_dump a specific schema
Следующее
От: Neil Conway
Дата:
Сообщение: Re: pg_dump a specific schema