On Wed, May 4, 2016 at 1:59 AM, Andres Freund <andres(at)anarazel(dot)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