Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hXy4X-0003Up-U5 for pgsql-committers@arkaria.postgresql.org; Tue, 04 Jun 2019 01:17:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hXy4W-0000DI-Pz for pgsql-committers@arkaria.postgresql.org; Tue, 04 Jun 2019 01:17:04 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1hXy4W-0000DB-JL for pgsql-committers@lists.postgresql.org; Tue, 04 Jun 2019 01:17:04 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hXy4T-0000rR-Bo for pgsql-committers@lists.postgresql.org; Tue, 04 Jun 2019 01:17:04 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x541GupO030970; Mon, 3 Jun 2019 21:16:56 -0400 From: Tom Lane To: Michael Paquier cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Fix contrib/auto_explain to not cause problems in parallel worke In-reply-to: <20190604011354.GD1529@paquier.xyz> References: <20190604011354.GD1529@paquier.xyz> Comments: In-reply-to Michael Paquier message dated "Tue, 04 Jun 2019 10:13:54 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <54158.1559611016.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 03 Jun 2019 21:16:56 -0400 Message-ID: <54159.1559611016@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Michael Paquier writes: > On Mon, Jun 03, 2019 at 10:06:21PM +0000, Tom Lane wrote: >> Fix contrib/auto_explain to not cause problems in parallel workers. > This has broken the builds on Windows for 9.6 and 10: > https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=3Dwoodlous= e&dt=3D2019-06-04%2000%3A42%3A07&stg=3Dmake Ooops. > This gets included as a dependency because of the call to > IsParallelWorker() you have added in this commit, and I think that > this can be fixed by adding PGDLLIMPORT to the variable in > parallel.h. Would you fix it or should I? Yeah, I see we already did that in later branches. I'll go fix it, thanks for the heads-up! regards, tom lane