Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bq0zL-0001zY-J2 for pgsql-hackers@arkaria.postgresql.org; Fri, 30 Sep 2016 16:48:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bq0zL-0005XD-5f for pgsql-hackers@arkaria.postgresql.org; Fri, 30 Sep 2016 16:48:43 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bq0zI-0005LK-Nz for pgsql-hackers@postgresql.org; Fri, 30 Sep 2016 16:48:40 +0000 Received: from [195.159.176.226] (helo=blaine.gmane.org) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bq0zF-0008U2-Bp for pgsql-hackers@postgresql.org; Fri, 30 Sep 2016 16:48:39 +0000 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bq0yt-0002ZK-Rs for pgsql-hackers@postgresql.org; Fri, 30 Sep 2016 18:48:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-hackers@postgresql.org From: Thomas Kellerer Subject: Re: [GENERAL] pg_upgrade from 9.5 to 9.6 fails with "invalid argument" Date: Fri, 30 Sep 2016 18:47:17 +0200 Lines: 20 Message-ID: References: <12301.1475183434@sss.pgh.pa.us> 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: Cc: pgsql-general@postgresql.org 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-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Masahiko Sawada schrieb am 30.09.2016 um 12:54: >> I did this on two different computers, one with Windows 10 the other with Windows 7. >> (only test-databases, so no real issue anyway) >> >> In both cases running a "vacuum full" for the table in question fixed the problem and pg_upgrade finished without problems. > > Because vacuum full removes the _vm file, pg_upgrade completed job successfully. > If you still have the _vm file > ("d:/Daten/db/pgdata95/base/16410/85358_vm") that lead an error, is it > possible that you check if there is '\r\n' [0d 0a] character in that > _vm file or share that _vm file with us? Yes, I saved one of the clusters. The file can be downloaded from here: http://www.kellerer.eu/85358_vm -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers