Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEend-0007jF-TR for pgsql-hackers@arkaria.postgresql.org; Sun, 19 Jun 2016 15:38:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bEenc-0002iU-Nn for pgsql-hackers@arkaria.postgresql.org; Sun, 19 Jun 2016 15:38:12 +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 1bEemH-0001BX-Ff for pgsql-hackers@postgresql.org; Sun, 19 Jun 2016 15:36:49 +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 1bEemE-0001Ur-Bg for pgsql-hackers@postgresql.org; Sun, 19 Jun 2016 15:36:49 +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 u5JFagFp013383; Sun, 19 Jun 2016 11:36:42 -0400 From: Tom Lane To: Amit Kapila cc: Peter Eisentraut , Robert Haas , Noah Misch , =?UTF-8?B?Q2zDqW1lbnQgUHLDqXZvc3Q=?= , PostgreSQL-development Subject: Re: parallel.c is not marked as test covered In-reply-to: References: <20160509012055.GA433959@alvherre.pgsql> <20160509145023.tkdpyygfxu56ngzz@alap3.anarazel.de> <20160607052716.GA766951@tornado.leadboat.com> <20160608034342.GA804701@tornado.leadboat.com> <58cd047c-deba-0863-b279-56b931237176@2ndquadrant.com> <24863.1466311214@sss.pgh.pa.us> Comments: In-reply-to Amit Kapila message dated "Sun, 19 Jun 2016 11:45:21 +0530" Date: Sun, 19 Jun 2016 11:36:42 -0400 Message-ID: <13382.1466350602@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) 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 Amit Kapila writes: > On Sun, Jun 19, 2016 at 10:10 AM, Tom Lane wrote: >> Would this not result in unstable test output depending on whether the >> code executes in the leader or a worker? > Before doing that test, we set force_parallel_mode=1, so it should always > execute in worker which will ensure a stable output. No, it *might* execute in a worker. If you can get one. 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