From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-general@postgresql.org
Subject: Re: pg_upgrade from 9.5 to 9.6 fails with "invalid argument"
Date: Thu, 29 Sep 2016 23:05:35 +0200
Message-ID: <nsjvo7$da3$1@blaine.gmane.org> (raw)
In-Reply-To: <bb41f587-d7bb-3de6-6cf8-a0e0fb86607f@aklaver.com>
References: <nsjrbh$8li$1@blaine.gmane.org>
<bb41f587-d7bb-3de6-6cf8-a0e0fb86607f@aklaver.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
Adrian Klaver schrieb am 29.09.2016 um 22:55:
>> After running a "vacuum full" on the table in question the upgrade goes
>> through.
>
> Assuming you did that on old cluster?
Yes, correct. I did that on the 9.5 cluster
> Where both clusters installed the same way?
Yes.
I always download the ZIP Archive from http://www.enterprisedb.com/products-services-training/pgbindownload then run initdb manually.
Both were initialized using:
initdb -D "..." --lc-messages=English -U postgres --pwfile=pwfile.txt -E UTF8 -A md5
> What was the complete command line invocation of pg_upgrade?
That was in a batch file:
set LC_MESSAGES=English
set oldbin=c:\Programme\PostgreSQL\9.5\bin
set newbin=c:\Programme\PostgreSQL\9.6\bin
"%newbin%\pg_upgrade" ^
--username=postgres ^
--old-bindir="%oldbin%" ^
--new-bindir="%newbin%" ^
--old-datadir=d:/Daten/db/pgdata95 ^
--new-datadir=d:/Daten/db/pgdata96 ^
--retain ^
--verbose ^
--old-port=5432 ^
--new-port=5433
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
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-general@postgresql.org
Cc: spam_eater@gmx.net
Subject: Re: pg_upgrade from 9.5 to 9.6 fails with "invalid argument"
In-Reply-To: <nsjvo7$da3$1@blaine.gmane.org>
References: <nsjrbh$8li$1@blaine.gmane.org> <bb41f587-d7bb-3de6-6cf8-a0e0fb86607f@aklaver.com> <nsjvo7$da3$1@blaine.gmane.org>
* 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