Re: [COMMITTERS] pgsql: Fix transient mdsync() errors of truncatedrelations due to 72a9 - Mailing list pgsql-committers

From Peter Geoghegan
Subject Re: [COMMITTERS] pgsql: Fix transient mdsync() errors of truncatedrelations due to 72a9
Date
Msg-id CAH2-Wzk2ou6+L_-SROgsuOBBHe7PUCrXP=afj6ZNWzp7+AV=2w@mail.gmail.com
Whole thread Raw
In response to pgsql: Fix transient mdsync() errors of truncated relations due to 72a9  (Andres Freund <andres@anarazel.de>)
List pgsql-committers
On Wed, May 4, 2016 at 1:59 AM, Andres Freund <andres@anarazel.de> wrote:
> The cleanest fix seems to be to allow the caller of _mdfd_getseg() to
> specify whether checks for RELSEG_SIZE are performed. To allow doing so,
> change the ExtensionBehavior enum into a bitmask. Besides allowing for
> the addition of EXTENSION_DONT_CHECK_SIZE, this makes for a nicer
> implementation of EXTENSION_REALLY_RETURN_NULL.

You missed a remaining reference to EXTENSION_REALLY_RETURN_NULL
within _mdfd_getseg().

-- 
Peter Geoghegan


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: [COMMITTERS] pgsql: Fix bogus size calculation introduced bycommit cc5f81366.
Next
From: Michael Paquier
Date:
Subject: Re: [COMMITTERS] pgsql: Fix bogus size calculation introduced bycommit cc5f81366.