Re: pg_upgrade cmdline issue

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Markus Bertheau <twanger(at)bluetwanger(dot)de>
Cc: Simone Tellini <tellini(at)areabusiness(dot)it>, pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_upgrade cmdline issue
Date: 2002-02-11 18:57:04
Message-ID: 200202111857.g1BIv4k29927@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)bluetwanger(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Simone Tellini 2002-02-11 19:04:35 Re: restore whoes
Previous Message Chad R. Larson 2002-02-11 18:38:53 Re: Restore Question