Received: from candle.pha.pa.us (216-55-132-35.dsl.san-diego.abac.net [216.55.132.35]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g1BIvNE85701 for ; Mon, 11 Feb 2002 13:57:23 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g1BIv4k29927; Mon, 11 Feb 2002 13:57:04 -0500 (EST) From: Bruce Momjian Message-Id: <200202111857.g1BIv4k29927@candle.pha.pa.us> Subject: Re: pg_upgrade cmdline issue In-Reply-To: <1013442953.29414.32.camel@entwicklung01.cenes.de> To: Markus Bertheau Date: Mon, 11 Feb 2002 13:57:04 -0500 (EST) CC: Simone Tellini , pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL96 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200202/125 X-Sequence-Number: 3284 Markus Bertheau wrote: Checking application/pgp-signature: FAILURE -- Start of PGP signed section. > On Mon, 2002-02-11 at 11:48, Simone Tellini wrote: > > > > 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 > > Bug, Bruce, right? :) Yes. Bug. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026