Skip site navigation (1) Skip section navigation (2)

Re: pg_restore and permissions

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Florian Weimer <Weimer(at)CERT(dot)Uni-Stuttgart(dot)DE>,pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_restore and permissions
Date: 2002-04-25 18:28:16
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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                        |
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to


pgsql-admin by date

Next:From: Florian WeimerDate: 2002-04-25 18:30:41
Subject: Re: pg_restore and permissions
Previous:From: Tom LaneDate: 2002-04-25 18:23:21
Subject: Re: Database 'xxxx', OID yyyyy, has disappeared from pg_database

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group