From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_restore and permissions
Date: Thu, 25 Apr 2002 14:28:16 -0400 (EDT)
Message-ID: <200204251828.g3PISGX05529@candle.pha.pa.us> (raw)
In-Reply-To: <3181.1019755236@sss.pgh.pa.us>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, Weimer@CERT.Uni-Stuttgart.DE
Subject: Re: pg_restore and permissions
In-Reply-To: <200204251828.g3PISGX05529@candle.pha.pa.us>
References: <3181.1019755236@sss.pgh.pa.us> <200204251828.g3PISGX05529@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox