Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a1Lx1-000453-Kd for pgsql-bugs@arkaria.postgresql.org; Tue, 24 Nov 2015 22:20:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a1Lx1-0007oO-71 for pgsql-bugs@arkaria.postgresql.org; Tue, 24 Nov 2015 22:20:39 +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) (envelope-from ) id 1a1LwO-00072f-Be for pgsql-bugs@postgresql.org; Tue, 24 Nov 2015 22:20:00 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1a1LwL-0005bY-Rw for pgsql-bugs@postgresql.org; Tue, 24 Nov 2015 22:19:59 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1a1LwI-00009B-8J; Tue, 24 Nov 2015 17:19:54 -0500 Date: Tue, 24 Nov 2015 17:19:54 -0500 From: Bruce Momjian To: Tom Lane Cc: Noah Misch , manu@coopapotheken.be, pgsql-bugs@postgresql.org Subject: Re: Re: BUG #13774: upgrade from 9.1 to 9.4 'succeeds' without enough disk space Message-ID: <20151124221954.GA24356@momjian.us> References: <20151112195735.9795.39615@wrigleys.postgresql.org> <20151114012402.GC27916@momjian.us> <20151118044334.GA1410299@tornado.leadboat.com> <20151118134945.GA18047@momjian.us> <11911.1447857045@sss.pgh.pa.us> <20151118144235.GB18047@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151118144235.GB18047@momjian.us> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.5 (--) 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 On Wed, Nov 18, 2015 at 09:42:35AM -0500, Bruce Momjian wrote: > On Wed, Nov 18, 2015 at 09:30:45AM -0500, Tom Lane wrote: > > Bruce Momjian writes: > > > Very good points. The attached patch fixes the copy parameter and > > > addresses the errno issue by just using errno direcdtly after the > > > _dosmaperr call. > > > > You did not change the comment > > > > * Returns the text of the error message for the given error number > > > > even though no error number is a "given" parameter anymore. Maybe > > "... for the most-recently-reported error"? > > Good point. I have changed it to "Returns the text of the most recent > error". Patch applied and backpatched through 9.1. I used a smaller patch, same behavior, on pre-9.4 because the removal of the getErrorText() argument were too invasive. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Roman grave inscription + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs