Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1atJcq-0006QA-2s for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Apr 2016 18:46:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1atJcp-0001q9-F4 for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Apr 2016 18:46:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1atJbT-0000KW-Ie for pgsql-hackers@postgresql.org; Thu, 21 Apr 2016 18:45:27 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1atJbM-0003Rk-Cm for pgsql-hackers@postgresql.org; Thu, 21 Apr 2016 18:45:26 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u3LIjGNa015987; Thu, 21 Apr 2016 14:45:16 -0400 From: Tom Lane To: Kevin Grittner cc: "pgsql-hackers@postgresql.org" Subject: Re: [COMMITTERS] pgsql: Inline initial comparisons in TestForOldSnapshot() In-reply-to: References: Comments: In-reply-to Kevin Grittner message dated "Thu, 21 Apr 2016 12:53:12 -0500" Date: Thu, 21 Apr 2016 14:45:16 -0400 Message-ID: <15986.1461264316@sss.pgh.pa.us> X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Kevin Grittner writes: > 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. PGDLLIMPORT is what's needed on any backend global variable that's to be referenced by extensions. I already pushed a fix before noticing this thread. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers