Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f50Ov-0005mp-9b for pgsql-hackers@arkaria.postgresql.org; Sun, 08 Apr 2018 02:49:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f50Ot-0007ja-87 for pgsql-hackers@arkaria.postgresql.org; Sun, 08 Apr 2018 02:49: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.89) (envelope-from ) id 1f50Os-0007jQ-2l for pgsql-hackers@lists.postgresql.org; Sun, 08 Apr 2018 02:49:51 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f50Om-0007e1-Uy for pgsql-hackers@lists.postgresql.org; Sun, 08 Apr 2018 02:49:49 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 942CA9F0; Sat, 7 Apr 2018 22:49:42 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 07 Apr 2018 22:49:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=5Pg9kCvrF/UV5Ca7P B25ZpK0Ume6XbdtH9jbrK5+cgY=; b=Fnb/9/38oNCPupVtyqObAJGE7b8KjJ4W/ 5j8XHBotmPpRxuwYPii+BqbvmLzzfOst7zcV+wnaREf4ZQFoFjMwdDUkMawat9MV nPELMp4SWuJnriB+lMXVMYGDQM10QcRln47S2SctYccjF8nOapLwOCUeX0pswkzl DWdmfmSbhgPwIMyeMHtIz5d9j743i3TE2dHA+5WRYBfOyr91DhdRPK6Xb0cqm16/ bbaSbhtUnixdr11VztWqpQLGG59PEp797azJkgcLD0CsrNEs1tfUQstKp26blv7f erH4pmE+eprzqoxmL9+K/3NciMwOPcKdgn3TLdopzUpOXBLXTwB+Q== X-ME-Sender: Received: from alvin.alvh.no-ip.org (unknown [179.56.51.182]) by mail.messagingengine.com (Postfix) with ESMTPA id DFB3910255; Sat, 7 Apr 2018 22:49:41 -0400 (EDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id A07F733C; Sat, 7 Apr 2018 23:49:39 -0300 (-03) Date: Sat, 7 Apr 2018 23:49:39 -0300 From: Alvaro Herrera To: Tom Lane Cc: pgsql-hackers@lists.postgresql.org Subject: Re: pgsql: Support partition pruning at execution time Message-ID: <20180408024939.wyyc4zynvwe4rrwl@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8384.1523138250@sss.pgh.pa.us> User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Tom Lane wrote: > Alvaro Herrera writes: > > Support partition pruning at execution time > > Buildfarm member lapwing doesn't like this. I can reproduce the > failures here by setting force_parallel_mode = regress. Kind > of looks like instrumentation counts aren't getting propagated > from workers back to the leader? This theory seems correct; the counters are getting incremented, yet explain later prints them as zero. What is the code that is supposed to propagate the instrumentation counts? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services