Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpiZl-0007Go-R8 for pgsql-general@arkaria.postgresql.org; Thu, 29 Sep 2016 21:09:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bpiZl-0002Sk-5d for pgsql-general@arkaria.postgresql.org; Thu, 29 Sep 2016 21:09:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bpiXQ-0007sx-Ia for pgsql-general@postgresql.org; Thu, 29 Sep 2016 21:06:40 +0000 Received: from [195.159.176.226] (helo=blaine.gmane.org) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bpiXM-0007yo-OO for pgsql-general@postgresql.org; Thu, 29 Sep 2016 21:06:40 +0000 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bpiXE-0004pL-B3 for pgsql-general@postgresql.org; Thu, 29 Sep 2016 23:06:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-general@postgresql.org From: Thomas Kellerer Subject: Re: pg_upgrade from 9.5 to 9.6 fails with "invalid argument" Date: Thu, 29 Sep 2016 23:05:35 +0200 Lines: 39 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 In-Reply-To: X-Host-Lookup-Failed: Reverse DNS lookup failed for 195.159.176.226 (failed) X-Pg-Spam-Score: -1.1 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org 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