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 17:53:12 |
Message-ID: | CACjxUsNsbpLtK097ed2JytrGcdaL0cjNoV8eWuuQhEpqvCqW9A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
On Thu, Apr 21, 2016 at 11:58 AM, Kevin Grittner <kgrittn(at)gmail(dot)com> wrote:
> 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.
No joy with that shot in the dark.
Should I add PGDLLEXPORT to the declaration of
old_snapshot_threshold. That doesn't seem to be documented
anywhere, or have any useful comments; but it looks like it *might*
be the arcane incantation needed here.
--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2016-04-21 18:04:03 | pgsql: Prevent possible crash reading pg_stat_activity. |
Previous Message | Robert Haas | 2016-04-21 17:32:10 | pgsql: Comment improvements for ForeignPath. |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2016-04-21 18:04:52 | Re: pg_stat_activity crashes |
Previous Message | Tom Lane | 2016-04-21 17:48:10 | Re: max_parallel_degree > 0 for 9.6 beta |