Received: from candle.pha.pa.us (216-55-132-35.dsl.san-diego.abac.net [216.55.132.35]) by postgresql.org (Postfix) with ESMTP id 139AD475CD0 for ; Thu, 25 Apr 2002 14:28:26 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g3PISGX05529; Thu, 25 Apr 2002 14:28:16 -0400 (EDT) From: Bruce Momjian Message-Id: <200204251828.g3PISGX05529@candle.pha.pa.us> Subject: Re: pg_restore and permissions In-Reply-To: <3181.1019755236@sss.pgh.pa.us> To: Tom Lane Date: Thu, 25 Apr 2002 14:28:16 -0400 (EDT) Cc: Florian Weimer , pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL97 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200204/249 X-Sequence-Number: 4137 Tom Lane wrote: > Bruce Momjian 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