Re: [COMMITTERS] pgsql: Inline initial comparisons in TestForOldSnapshot()

From: Kevin Grittner <kgrittn(at)gmail(dot)com>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Inline initial comparisons in TestForOldSnapshot()
Date: 2016-04-21 16:58:20
Message-ID: CACjxUsNW5Eo35B2PeavbWFgK7A9hC=C-jshOZ2g1OW3xD8+g+w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Thu, Apr 21, 2016 at 9:58 AM, Kevin Grittner <kgrittn(at)gmail(dot)com> wrote:
> On Thu, Apr 21, 2016 at 8:47 AM, Kevin Grittner <kgrittn(at)postgresql(dot)org> wrote:
>> Inline initial comparisons in TestForOldSnapshot()
>
> This seems to have broken Windows builds. Is there something
> special that needs to be done if a function referenced from a
> contrib module changes to an inline function?

I've attempted to fix this by adding an include to blscan.c so that
it can find old_snapshot_threshold. The fact that this was only
failing in a contrib module on Windows builds has me suspicious
that there is some other way this would be better fixed, but I have
no clue what that would be. We'll see whether this brings things
green again.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-04-21 17:28:40 pgsql: Fix assorted defects in 09adc9a8c09c9640de05c7023b27fb83c761e91c
Previous Message Kevin Grittner 2016-04-21 16:54:03 pgsql: Include snapmgr.h in blscan.c

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-04-21 17:10:46 Re: Parser extensions (maybe for 10?)
Previous Message David G. Johnston 2016-04-21 16:25:10 Re: Typos/Questions in bloom documentation