Re: pg_restore - added documentation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_restore - added documentation
Дата
Msg-id 14394.1097678232@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_restore - added documentation  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches
Peter Eisentraut <peter_e@gmx.net> writes:
> Bruce Momjian wrote:
>> However, I wonder if "output database" is the proper name for -d?
>> Isn't it more "restore database" or "target database"?

> "restore database name" sounds like, "When this option is specified,
> only the database name is restored.".  "target database" sounds a lot
> better.

-d really only specifies the database to which pg_restore initially
connects.  If you've requested a CREATE DATABASE command be issued (-C
I think) then the actual restore will happen into that database.

            regards, tom lane

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: pg_restore - added documentation
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_restore - added documentation