Re: pg_dump --clean w/ <= 7.2 server

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump --clean w/ <= 7.2 server
Дата
Msg-id 28045.1088114005@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_dump --clean w/ <= 7.2 server  (Kris Jurka <books@ejurka.com>)
Ответы Re: pg_dump --clean w/ <= 7.2 server  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Kris Jurka <books@ejurka.com> writes:
>> Possibly the most correct solution is to assign the name "public" to the
>> dummy schema that pg_dump creates internally when talking to a pre-7.3
>> server.

> I was considering that they might want to restore the dump into another
> schema and that would be easier with an unqualified name.  I don't really
> understand why the name needs to be fully qualified in the first place.

Because it's entirely too likely that you'll drop the wrong thing if you
issue an unqualified DROP.

            regards, tom lane

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: pg_dump --clean w/ <= 7.2 server
Следующее
От: Dennis Bjorklund
Дата:
Сообщение: Add argument name to CREATE FUNCTION documentation