Re: CREATE USER

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CREATE USER
Дата
Msg-id 27416.1323836857@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: CREATE USER  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: CREATE USER  (Scott Marlowe <scott.marlowe@gmail.com>)
Re: CREATE USER  (Jaime Casanova <jaime@2ndquadrant.com>)
Список pgsql-docs
Bruce Momjian <bruce@momjian.us> writes:
> Well, I know we support the new pg_dump dumping back to 7.1, but I don't
> know what our policy is for accepting old dumps.

We're still going to very large lengths to load pre-7.3 dumps; see
for instance ConvertTriggerToFK() in trigger.c.  I'm not aware of any
policy that would suggest blowing off pre-8.1 dumps should be
acceptable.  Yeah, it's true that the *recommended* procedure is to
use the newer pg_dump, but people aren't always in a position to do
that.

I think it might be sane to emit a WARNING suggesting that CREATEUSER
might not mean what you think, but failing is probably not good.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: CREATE USER
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: CREATE USER