Re: pg_restore and permissions

От
Bruce Momjian
Тема
Re: pg_restore and permissions
Дата
Msg-id
200204251828.g3PISGX05529@candle.pha.pa.us
Ответ на
Список
Дерево обсуждения
pg_restore and permissions Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE>
Re: pg_restore and permissions Bruce Momjian <pgman@candle.pha.pa.us>
Re: pg_restore and permissions Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_restore and permissions Bruce Momjian <pgman@candle.pha.pa.us>
Re: pg_restore and permissions Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE>
Re: pg_restore and permissions Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE>
Re: pg_restore and permissions Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_restore and permissions Bruce Momjian <pgman@candle.pha.pa.us>
Re: pg_restore and permissions Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE>
Tom Lane wrote:
> Bruce Momjian  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
Дата:
От: Florian Weimer
Дата:
Сообщение: Re: pg_restore and permissions
Поиск
Список
Период
Сортировка
Искать
FAQ