Re: pg_upgrade invalid option - Mailing list pgsql-docs

From Thom Brown
Subject Re: pg_upgrade invalid option
Date
Msg-id AANLkTilLpicS1DnuN2mZkxaXoFfT-Jz5vzeoSXE2pPJS@mail.gmail.com
Whole thread Raw
In response to pg_upgrade invalid option  (Thom Brown <thombrown@gmail.com>)
Responses Re: pg_upgrade invalid option  (Bruce Momjian <bruce@momjian.us>)
List pgsql-docs
On 11 June 2010 14:55, Dave Page <dpage@pgadmin.org> wrote:
> On Fri, Jun 11, 2010 at 2:50 PM, Thom Brown <thombrown@gmail.com> wrote:
>> I've tried following the instructions on this page:
>> http://www.postgresql.org/files/documentation/books/aw_pgsql/node267.html
>>
>> This mentions a -f option but my version of pg_upgrade doesn't appear
>> to support this:
>>
>> /usr/lib64/postgresql-9.0/bin/pg_upgrade: invalid option -- 'f'
>>
>> The only options available are:
>>
> <snip>
>
>> Are those instructions for an older version?
>>
>
> That's Bruce's book which is probably 8 or 9 years old now. It's
> almost certainly referring to the old pg_upgrade shell script from
> years ago.
>

Ah, unfortunately that's the first result in Google.  I've resorted to
restoring from a full backup :(  I don't think I could use it for
upgrading from beta 1 to beta 2 anyway by the looks of things.  The
binary directories are updated since they share the same version
number.

Thom

pgsql-docs by date:

Previous
From: Thom Brown
Date:
Subject: pg_upgrade invalid option
Next
From: Dave Page
Date:
Subject: Re: pg_upgrade invalid option