pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simone Tellini <tellini@areabusiness.it>
To: pgsql-admin@postgresql.org
Subject: Re: pg_upgrade cmdline issue
Date: Mon, 11 Feb 2002 11:48:35 +0100
Message-ID: <20020211114752.3A1F.TELLINI@areabusiness.it> (raw)
In-Reply-To: <1013416547.29366.11.camel@entwicklung01.cenes.de>
References: <1013416547.29366.11.camel@entwicklung01.cenes.de>


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

-- 

Simone Tellini
E-mail: tellini@areabusiness.it
http://www.areabusiness.it




view thread (5+ messages)  latest in thread

Message-ID: <20020211114752.3A1F.TELLINI@areabusiness.it>
Permalink:  ../20020211114752.3A1F.TELLINI@areabusiness.it/
Also on:    postgresql.org/message-id/20020211114752.3A1F.TELLINI@areabusiness.it

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tellini@areabusiness.it
  Subject: Re: pg_upgrade cmdline issue
  In-Reply-To: <20020211114752.3A1F.TELLINI@areabusiness.it>
  References: <1013416547.29366.11.camel@entwicklung01.cenes.de> <20020211114752.3A1F.TELLINI@areabusiness.it>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox