X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 9E960D1B45F for ; Tue, 16 Dec 2003 13:10:46 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 31418-01 for ; Tue, 16 Dec 2003 09:10:21 -0400 (AST) Received: from curie.credativ.org (credativ.com [217.160.209.18]) by svr1.postgresql.org (Postfix) with ESMTP id 4D9E6D1C50B for ; Tue, 16 Dec 2003 09:10:17 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by curie.credativ.org (Postfix) with ESMTP id 9CF815626C; Tue, 16 Dec 2003 14:10:14 +0100 (CET) Received: from 192.168.2.126 (dsl-213-023-248-127.arcor-ip.net [213.23.248.127]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by curie.credativ.org (Postfix) with ESMTP id 245E956240; Tue, 16 Dec 2003 14:10:14 +0100 (CET) From: Peter Eisentraut To: Rich Cullingford , Tom Lane Subject: Re: Moving a database AND changing the superuser Date: Tue, 16 Dec 2003 14:10:12 +0100 User-Agent: KMail/1.5.4 Cc: pgsql-admin@postgresql.org References: <3FDDD39D.1060101@sysd.com> <13436.1071507941@sss.pgh.pa.us> <3FDDEC95.9080506@sysd.com> In-Reply-To: <3FDDEC95.9080506@sysd.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312161410.12334.peter_e@gmx.net> X-Virus-Scanned: by AMaViS at credativ.com X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/218 X-Sequence-Number: 11724 Rich Cullingford wrote: > Well, I was gonna use pg_dumpall to avoid the tedium of individual > dumps, but (gotcha!) pg_dumpall doesn't accept > --use-set-session-authorization (tho' it does run pg_dump!). It supplies that option automatically. > If I use > pg_dumpall, will pg_restore (with --use-set-session-authorization) be > smart enough to ignore the \connect calls in the dump? pg_dumpall output cannot be restored with pg_restore. > I would try all this stuff myself, but unfortunately my PG 7.4 > machine isn't available yet, so I'm grasping at straws... In PG 7.4, --use-set-session-authorization is the default and only option.