Re: pg_upgrade cmdline issue - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: pg_upgrade cmdline issue
Date
Msg-id 200202111857.g1BIv4k29927@candle.pha.pa.us
Whole thread Raw
In response to Re: pg_upgrade cmdline issue  (Markus Bertheau <twanger@bluetwanger.de>)
List pgsql-admin
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 <twanger@bluetwanger.de> 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

pgsql-admin by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: restore whoes
Next
From: Simone Tellini
Date:
Subject: Re: restore whoes