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 11A0CD1BCC3 for ; Mon, 15 Dec 2003 15:59:26 +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 65315-05 for ; Mon, 15 Dec 2003 11:59:03 -0400 (AST) Received: from phpnet.org (ns.phpnet.org [195.137.249.140]) by svr1.postgresql.org (Postfix) with SMTP id 735C8D1BCB8 for ; Mon, 15 Dec 2003 11:58:56 -0400 (AST) Received: (qmail 23471 invoked by uid 502); 15 Dec 2003 15:59:00 -0000 Received: from unknown (HELO moissac.leveque.fr) (81.56.193.138) by 10.0.0.2 with SMTP; 15 Dec 2003 15:59:00 -0000 Received: from net6d.com (IDENT:100@moissac.leveque.fr [192.168.150.177]) by moissac.leveque.fr (8.12.8/8.12.9/Bruno LEVEQUE - 31/08/2003) with ESMTP id hBFFsuOk022452; Mon, 15 Dec 2003 16:54:56 +0100 Message-ID: <3FDDD950.7020400@net6d.com> Date: Mon, 15 Dec 2003 16:54:56 +0100 From: Bruno LEVEQUE User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030827 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rich Cullingford Cc: pgsql-admin@postgresql.org Subject: Re: Moving a database AND changing the superuser References: <3FDDD39D.1060101@sysd.com> In-Reply-To: <3FDDD39D.1060101@sysd.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/192 X-Sequence-Number: 11699 In my opinion, the only thing you need to change is the name of the superuser in your dump file. Bruno Rich Cullingford wrote: > All, > I did a pg_dumpall in preparation for moving one of our databases from > PG7.3 to PG7.4, but I just realized I have another problem: that DB > (which has served us faithfully for some time) was created for > superuser 'postgres,' whilst our new DBs use a superuser name that's > aligned with our product. I'm expecting conflicts when I try to > restore the data into a 'new' DB. Am I right, and if so, what can I > do? (I know I could just try it, but the old database machine will be > disappearing soon, and if I need to do a different kind of dump -- per > DB, for example -- I need to know that soonest.) > Thanks, > Rich Cullingford > System Detection, Inc. > rculling@sysd.com > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > -- Bruno LEVEQUE System Engineer SARL NET6D bruno.leveque@net6d.com http://www.net6d.com