Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmCVd-0007Co-Cy for pgsql-committers@arkaria.postgresql.org; Fri, 10 Mar 2017 04:50:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cmCVc-0007zf-LS for pgsql-committers@arkaria.postgresql.org; Fri, 10 Mar 2017 04:50:32 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cmCVc-0007zJ-1X for pgsql-committers@postgresql.org; Fri, 10 Mar 2017 04:50:32 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cmCVZ-0003AL-Iq for pgsql-committers@postgresql.org; Fri, 10 Mar 2017 04:50:30 +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 v2A4oRRX019725; Thu, 9 Mar 2017 23:50:27 -0500 From: Tom Lane To: Andres Freund cc: pgsql-committers@postgresql.org Subject: Re: pgsql: contrib/amcheck needs RecentGlobalXmin to be PGDLLIMPORT'ified. In-reply-to: <20170310040018.vcsp6rsh5baqngie@alap3.anarazel.de> References: <20170310040018.vcsp6rsh5baqngie@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Thu, 09 Mar 2017 20:00:18 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19723.1489121427.1@sss.pgh.pa.us> Date: Thu, 09 Mar 2017 23:50:27 -0500 Message-ID: <19724.1489121427@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Andres Freund writes: > On 2017-03-10 03:55:50 +0000, Tom Lane wrote: >> contrib/amcheck needs RecentGlobalXmin to be PGDLLIMPORT'ified. > Heh, I just wanted to push a patch removing the assertion because it > doesn't add that much. There's imo no reason not to mark the variable > PGDLLIMPORT, so I'm good with this too. Oh, I hadn't looked closely enough to notice that the only reference there was Assert(TransactionIdIsValid(RecentGlobalXmin)); I agree: that is just about utterly useless. Let's revert my patch and remove that Assert. I'm not eager to encourage people to reference the xmin globals if we don't have to. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers