Received: from Mail.CERT.Uni-Stuttgart.DE (mail.cert.uni-stuttgart.de [129.69.16.17]) by postgresql.org (Postfix) with SMTP id 4312A475988 for ; Thu, 25 Apr 2002 14:31:48 -0400 (EDT) Received: (qmail 10201 invoked by uid 1000); 25 Apr 2002 18:30:42 -0000 To: Bruce Momjian Cc: Tom Lane , pgsql-admin@postgresql.org Subject: Re: pg_restore and permissions References: <200204251828.g3PISGX05529@candle.pha.pa.us> From: Florian Weimer Date: Thu, 25 Apr 2002 20:30:41 +0200 In-Reply-To: <200204251828.g3PISGX05529@candle.pha.pa.us> (Bruce Momjian's message of "Thu, 25 Apr 2002 14:28:16 -0400 (EDT)") Message-ID: <87ofg7pr5a.fsf@CERT.Uni-Stuttgart.DE> Lines: 24 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200204/250 X-Sequence-Number: 4138 Bruce Momjian 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