Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id C6EC963234F for ; Fri, 11 Jun 2010 11:25:20 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 07152-10 for ; Fri, 11 Jun 2010 14:25:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pv0-f174.google.com (mail-pv0-f174.google.com [74.125.83.174]) by mail.postgresql.org (Postfix) with ESMTP id 4E1D86329E1 for ; Fri, 11 Jun 2010 11:25:13 -0300 (ADT) Received: by pvg16 with SMTP id 16so551511pvg.19 for ; Fri, 11 Jun 2010 07:25:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.119.20 with SMTP id r20mr1406185wfc.15.1276264540483; Fri, 11 Jun 2010 06:55:40 -0700 (PDT) Received: by 10.142.144.21 with HTTP; Fri, 11 Jun 2010 06:55:40 -0700 (PDT) In-Reply-To: References: Date: Fri, 11 Jun 2010 14:55:40 +0100 Message-ID: Subject: Re: pg_upgrade invalid option From: Dave Page To: Thom Brown Cc: pgsql-docs Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201006/18 X-Sequence-Number: 5586 On Fri, Jun 11, 2010 at 2:50 PM, Thom Brown 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: > > 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. -- Dave Page EnterpriseDB UK: http://www.enterprisedb.com The Enterprise Postgres Company