Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZwyUI-0008Q9-Ez for pgsql-bugs@arkaria.postgresql.org; Thu, 12 Nov 2015 20:28:54 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZwyUH-0005PJ-TJ for pgsql-bugs@arkaria.postgresql.org; Thu, 12 Nov 2015 20:28:53 +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) (envelope-from ) id 1Zwy0U-0002fZ-Cm for pgsql-bugs@postgresql.org; Thu, 12 Nov 2015 19:58:06 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Zwy0R-0001hN-M5 for pgsql-bugs@postgresql.org; Thu, 12 Nov 2015 19:58:05 +0000 MIME-Version: 1.0 Subject: BUG #13774: upgrade from 9.1 to 9.4 'succeeds' without enough disk space To: pgsql-bugs@postgresql.org From: manu@coopapotheken.be Date: Thu, 12 Nov 2015 19:57:35 +0000 Message-ID: <20151112195735.9795.39615@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 13774 Logged by: Manu Joye Email address: manu@coopapotheken.be PostgreSQL version: 9.4.5 Operating system: Windows server 2008r2 Description: running pg_upgrade yields no warnings when there is not enough disk space to do the upgrade. I upgraded a server with about 10 databases following the instructions as provided on the website here. Everything seemed to have gone well except that some tables in various databases just vanished (pgadmin complained about missing files) . Upon inspection I noticed the HD had only a couple of KB of free space left. pg_upgrade seemed to have just restored what it could and then exited without warning! We caught it early on and could restore from backups but a check on required free disk space before upgrade should be implemented or, if that doesn't work, at least a warning from pg_upgrade that something went wrong. Kind regards, Manu PS I LOVE postgresql, let that be clear. Thanks a whole lot to the whole team for making this DBMS as awesome as it is. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs