Received: from smtp1.libero.it (smtp1.libero.it [193.70.192.51]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g1AHxtE91665 for ; Sun, 10 Feb 2002 12:59:55 -0500 (EST) (envelope-from tellini@areabusiness.it) Received: from Aidoru (151.42.61.196) by smtp1.libero.it (6.0.040) id 3C5838EF0070F39D for pgsql-admin@postgresql.org; Sun, 10 Feb 2002 18:59:55 +0100 Date: Sun, 10 Feb 2002 18:59:53 +0100 From: Simone Tellini To: pgsql-admin@postgresql.org Subject: Re: pg_dump / pg_upgrade problem Organization: RealSoft S.r.l. In-Reply-To: <4.2.0.58.20020210104828.0096fa10@logic1design.com> References: <20020209233145.DAF4.TELLINI@areabusiness.it> <4.2.0.58.20020210104828.0096fa10@logic1design.com> Message-Id: <20020210185708.6F92.TELLINI@areabusiness.it> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.00.08 X-Archive-Number: 200202/81 X-Sequence-Number: 3240 On Sun, 10 Feb 2002 10:49:29 -0700 Naomi Walker wrote: NW> My guess is that this will not be hard to fix. What did you have to NW> change, exactly, to make it work? I've got a mixed case dbname. for database names you just need to find the '\connect dbname user' line and turn it into '\connect "dbname" user' For usernames it isn't so simple, as it'll fail later on (when assigning table owners and stuff, I guess). The simplest way to restore a db with mixed case usernames is to change the CREATE USER commands at the top of the dump to lowercase, restore it and then rename the users (if it's possible). -- Simone Tellini E-mail: tellini@areabusiness.it http://www.areabusiness.it