pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Address set of issues with errno handling
Date: Sat, 04 Aug 2018 11:21:28 -0400
Message-ID: <22991.1533396088@sss.pgh.pa.us> (raw)
In-Reply-To: <20180804121834.GG20967@paquier.xyz>
References: <E1fXHAd-0004Qv-8y@gemulon.postgresql.org>
	<31797.1533326676@sss.pgh.pa.us>
	<20180804121834.GG20967@paquier.xyz>

Michael Paquier <michael@paquier.xyz> writes:
> On Fri, Aug 03, 2018 at 04:04:36PM -0400, Tom Lane wrote:
>> You need to go back and add the pre-clearing of errno in each of these
>> places, otherwise the added code is basically useless.

> I looked at all code paths enforcing ENOSPC on write() calls, and
> attached is a patch to address this issue for all of them.  What do you
> think?  I can of course get that addressed before the next set of minor
> releases.

That looks good as far as it goes.  I didn't cross-check that you
hit everyplace that needs this, but if you grepped for references to
ENOSPC then you presumably found them all.

IMO, it's OK to push this this weekend if you have time.

			regards, tom lane




view thread (11+ messages)  latest in thread

Message-ID: <22991.1533396088@sss.pgh.pa.us>
Permalink:  ../22991.1533396088@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22991.1533396088@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Address set of issues with errno handling
  In-Reply-To: <22991.1533396088@sss.pgh.pa.us>

* 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