Re: pg_restore and permissions - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: pg_restore and permissions
Date
Msg-id 200204251828.g3PISGX05529@candle.pha.pa.us
Whole thread Raw
In response to Re: pg_restore and permissions  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_restore and permissions
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Database 'xxxx', OID yyyyy, has disappeared from pg_database
Next
From: Florian Weimer
Date:
Subject: Re: pg_restore and permissions