From: Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_restore and permissions
Date: Thu, 25 Apr 2002 20:30:41 +0200
Message-ID: <87ofg7pr5a.fsf@CERT.Uni-Stuttgart.DE> (raw)
In-Reply-To: <200204251828.g3PISGX05529@candle.pha.pa.us>
References: <200204251828.g3PISGX05529@candle.pha.pa.us>
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> 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've created the dump with pg_dump, not with pg_dumpall.
> I think Tom's idea is correct that you have to open things up to get it
> loaded. Sorry about that.
You mean, change the server authentication settings? Okay, that's the
usual approach. :-/
Will it be possible some day to restore backups more easily, without
having to tweak configuration files?
--
Florian Weimer Weimer@CERT.Uni-Stuttgart.DE
University of Stuttgart http://CERT.Uni-Stuttgart.DE/people/fw/
RUS-CERT +49-711-685-5973/fax +49-711-685-5898
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: Weimer@CERT.Uni-Stuttgart.DE, pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us
Subject: Re: pg_restore and permissions
In-Reply-To: <87ofg7pr5a.fsf@CERT.Uni-Stuttgart.DE>
References: <200204251828.g3PISGX05529@candle.pha.pa.us> <87ofg7pr5a.fsf@CERT.Uni-Stuttgart.DE>
* 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