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 1gkIdr-0001BG-NF for pgsql-committers@arkaria.postgresql.org; Fri, 18 Jan 2019 01:08:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gkIdn-00020I-Tf for pgsql-committers@arkaria.postgresql.org; Fri, 18 Jan 2019 01:08:11 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gkIdn-0001nP-Jp for pgsql-committers@lists.postgresql.org; Fri, 18 Jan 2019 01:08:11 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gkIdl-0006VV-0c for pgsql-committers@lists.postgresql.org; Fri, 18 Jan 2019 01:08:10 +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 x0I187vt025292; Thu, 17 Jan 2019 20:08:07 -0500 From: Tom Lane To: Michael Paquier cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Restrict the use of temporary namespace in two-phase transaction In-reply-to: <20190118005949.GD1883@paquier.xyz> References: <20190118005949.GD1883@paquier.xyz> Comments: In-reply-to Michael Paquier message dated "Fri, 18 Jan 2019 09:59:49 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25290.1547773687.1@sss.pgh.pa.us> Date: Thu, 17 Jan 2019 20:08:07 -0500 Message-ID: <25291.1547773687@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Michael Paquier writes: > I have been monitoring the buildfarm and crake is complaining: > https://buildfarm.postgresql.org/cgi-bin/show_history.pl?nm=crake&br=HEAD > I am actually amazed to see the planner choose a parallel plan for > that, That's due to force_parallel_mode = regress, I imagine. > Anyway, it seems to me that this is pointing out to another issue: > current_schema() can trigger a namespace creation, hence shouldn't we > mark it as PARALLEL UNSAFE and make sure that we never run into this > problem? That seems a bit annoying, but maybe we have little choice? regards, tom lane