Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGcBc-00034r-LR for pgsql-hackers@arkaria.postgresql.org; Fri, 02 Jun 2017 02:19:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dGcBc-00023F-89 for pgsql-hackers@arkaria.postgresql.org; Fri, 02 Jun 2017 02:19:36 +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 1dGcA6-0006oE-Ni for pgsql-hackers@postgresql.org; Fri, 02 Jun 2017 02:18:03 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dGcA4-0003un-5X for pgsql-hackers@postgresql.org; Fri, 02 Jun 2017 02:18:01 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id E043E208CB; Thu, 1 Jun 2017 22:17:57 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute7.internal (MEProxy); Thu, 01 Jun 2017 22:17:57 -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:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=CB2PHEtHfgGKSCH1naw4pMPmSPS3NjKXETJ/u/MxMko=; b=iq8XaN9V lFAqLSgkEdgF3mDX1ailQxhbPVSaJloZ+QoVfLvi7cVPHtuqgwNJmk0MNa4myjO3 xj760WcNjjPeCBeL3Z+Q97uyecMArGBDkYWSvTZjR+1C51c9yA1KBapN5txwouBF /A8oKxH2u3YGjRXEtuvrq55MzZJxhn+j9cWTUj54oo9PqSJF48b/AtZTTvx/1mny jlEMZT4NvXraCNlJf2Xu3ORSfvi1H4DtM3DjDUnwLeB0aHyoh5+dVaSAcTV0vJUc xq0kl/vQh0wdDAl2inKAHbYLYe+JZGq564nOPho6e2bQO6/+1+pvFiFdqBjxuPC2 F9d9G2DcXx0DGw== X-ME-Sender: X-Sasl-enc: 1UHge3XqJe7y7/mu2F/8mKzOW3W0KxIbJUznJOyCZJUE 1496369877 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 907617E271; Thu, 1 Jun 2017 22:17:57 -0400 (EDT) Subject: Re: walsender & parallelism To: Andres Freund References: <20170423235941.qosiuoyqprq4nu7v@alap3.anarazel.de> <20170424000452.3iab4qpc3mtb2v6v@alap3.anarazel.de> <13973428-ca0b-b329-7f32-f15150e10334@2ndquadrant.com> <20170424232559.j5zuna3rpzksj26l@alap3.anarazel.de> <81eaca60-3f7b-6a21-5531-fd51ffbf3f63@2ndquadrant.com> <5fe9977b-1961-d663-004f-d138a74860ed@2ndquadrant.com> <0AD1D877-EFA4-4B11-A074-6B83D90402EA@anarazel.de> <20170601040613.j3ww7s5aqhowiqcj@alap3.anarazel.de> Cc: Petr Jelinek , pgsql-hackers@postgresql.org From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <48aed7ec-ae32-6ef2-102d-eea8545bda77@2ndquadrant.com> Date: Thu, 1 Jun 2017 22:17:57 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <20170601040613.j3ww7s5aqhowiqcj@alap3.anarazel.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 On 6/1/17 00:06, Andres Freund wrote: > On 2017-05-31 23:51:08 -0400, Peter Eisentraut wrote: >> I think the easiest and safest thing to do now is to just prevent >> parallel plans in the walsender. See attached patch. This prevents the >> hang in the select_parallel tests run under your new test setup. > I'm not quite sure I can buy this. The lack of wired up signals has > more problems than just hurting parallelism. Which problems are those? I can see from the code what they might be, but which ones actually happen in practice? And are there any regressions from 9.6? If someone wants to work all this out, that would be great. But I'm here mainly to fix the one reported problem. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers