Re: pg_upgrade cmdline issue

From: Simone Tellini <tellini(at)areabusiness(dot)it>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_upgrade cmdline issue
Date: 2002-02-11 10:48:35
Message-ID: 20020211114752.3A1F.TELLINI@areabusiness.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


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

--

Simone Tellini
E-mail: tellini(at)areabusiness(dot)it
http://www.areabusiness.it

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Madelon Brennan 2002-02-11 13:15:26 Copying data
Previous Message Simone Tellini 2002-02-11 10:46:25 Re: restore whoes