Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 268F24758EE for ; Thu, 25 Apr 2002 14:58:12 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g3PIw6F04760; Thu, 25 Apr 2002 14:58:06 -0400 (EDT) To: Florian Weimer Cc: Bruce Momjian , pgsql-admin@postgresql.org Subject: Re: pg_restore and permissions In-reply-to: <87d6wnu1ue.fsf@CERT.Uni-Stuttgart.DE> References: <200204251616.g3PGGMN24174@candle.pha.pa.us> <3181.1019755236@sss.pgh.pa.us> <87d6wnu1ue.fsf@CERT.Uni-Stuttgart.DE> Comments: In-reply-to Florian Weimer message dated "Thu, 25 Apr 2002 19:26:01 +0200" Date: Thu, 25 Apr 2002 14:58:06 -0400 Message-ID: <4757.1019761086@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200204/251 X-Sequence-Number: 4139 Florian Weimer writes: > Tom Lane writes: >> SET SESSION AUTHORIZATION should have been used instead, but I doubt >> Florian has any convenient way to re-do the dump file with that option. > Fortunately, I can re-do the dump (I'm eager to become a professional > with a production and a testing machine ;-). Oh, in that case you can use pg_dump -X use-set-session-authorization > But SET SESSION AUTHORIZATION does not seem to be available in 7.2.1, > yet 7.1.3. I do not think 7.1's pg_dump had this option, but you can run 7.2's pg_dump against the 7.1 server (in fact that is probably preferable anyhow). I would like to see use-set-session-authorization become the default before 7.3 release, but haven't got around to doing anything about it. regards, tom lane