Re: pg_restore and permissions

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pg_restore and permissions
Дата
Msg-id 200204251828.g3PISGX05529@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: pg_restore and permissions  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_restore and permissions
Список pgsql-admin
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > That should work.
>
> No, it won't because the pg_dumpall script will try to connect as each
> user who owns objects in the database.  With ident authorization in
> force, the DB rejects these connection requests as falsified.

Oh, I thought he was getting that error on first connection, but now I
understand it was part of a larger dump.

I think Tom's idea is correct that you have to open things up to get it
loaded.  Sorry about that.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Database 'xxxx', OID yyyyy, has disappeared from pg_database
Следующее
От: Florian Weimer
Дата:
Сообщение: Re: pg_restore and permissions