Received: from smtp2.libero.it (smtp2.libero.it [193.70.192.52]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g1BAmYE09835 for ; Mon, 11 Feb 2002 05:48:34 -0500 (EST) (envelope-from tellini@areabusiness.it) Received: from Aidoru (151.38.61.163) by smtp2.libero.it (6.0.040) id 3C5840440076AB3D for pgsql-admin@postgresql.org; Mon, 11 Feb 2002 11:48:34 +0100 Date: Mon, 11 Feb 2002 11:48:35 +0100 From: Simone Tellini To: pgsql-admin@postgresql.org Subject: Re: pg_upgrade cmdline issue Organization: RealSoft S.r.l. In-Reply-To: <1013416547.29366.11.camel@entwicklung01.cenes.de> References: <1013416547.29366.11.camel@entwicklung01.cenes.de> Message-Id: <20020211114752.3A1F.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/103 X-Sequence-Number: 3262 On 11 Feb 2002 09:35:46 +0100 Markus Bertheau wrote: MB> bash-2.05$ bin/pg_upgrade -D /var/lib/pgsql/data/ -1 MB> You must run pg_upgrade in either mode 1 or mode 2. MB> Usage: pg_upgrade [-D datadir] -1 | -2 MB> bash-2.05$ I've got that too. Try export PGDATA=/var/lib/pgsql/data, then pg_upgrade -1 -- Simone Tellini E-mail: tellini@areabusiness.it http://www.areabusiness.it