Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aBoZg-0004QF-L6 for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Dec 2015 18:55:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aBoZg-0008Ar-3t for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Dec 2015 18:55:48 +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) (envelope-from ) id 1aBoZe-0008Ai-Af for pgsql-hackers@postgreSQL.org; Wed, 23 Dec 2015 18:55:46 +0000 Received: from www.commandprompt.com ([2604:da00:2:2:5054:ff:fe07:7618] helo=lists.commandprompt.com) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aBoZa-0006BC-HQ for pgsql-hackers@postgreSQL.org; Wed, 23 Dec 2015 18:55:44 +0000 Received: from [192.168.1.15] (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id 5D25D5D5; Wed, 23 Dec 2015 10:55:40 -0800 (PST) Received: from c-67-168-169-165.hsd1.wa.comcast.net ([67.168.169.165] helo=[192.168.1.15]) by assp.commandprompt.com with SMTPSA(TLSv1_2 ECDHE-RSA-AES128-GCM-SHA256) (2.4.5); 23 Dec 2015 10:55:39 -0800 Subject: Re: Parallel pg_dump's error reporting doesn't work worth squat To: Tom Lane , pgsql-hackers@postgreSQL.org References: <2458.1450894615@sss.pgh.pa.us> From: "Joshua D. Drake" Organization: Command Prompt, Inc. Message-ID: <567AEE2B.2060504@commandprompt.com> Date: Wed, 23 Dec 2015 10:55:39 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <2458.1450894615@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Assp-Version: 2.4.5(15162) on assp.commandprompt.com X-Assp-ID: assp.commandprompt.com m1-96940-06265 X-Assp-Session: 7F2C967CABB0 (mail 1) X-Assp-Envelope-From: jd@commandprompt.com X-Assp-Intended-For: pgsql-hackers@postgreSQL.org X-Assp-Intended-For: tgl@sss.pgh.pa.us X-Assp-Original-Subject: Re: [HACKERS] Parallel pg_dump's error reporting doesn't work worthsquat X-Assp-Client-SSL: yes X-Pg-Spam-Score: -1.9 (-) 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 12/23/2015 10:16 AM, Tom Lane wrote: > Depending on timing, this scheme might accidentally fail to fail, but it > seems fragile as can be. I would bet that it's prone to deadlocks, quite > aside from the SIGPIPE problem. Considering how amazingly ugly the > underlying code is (exit_horribly is in parallel.c now? Really?), I want > to rip it out entirely, not try to band-aid it by suppressing SIGPIPE --- > though likely we need to do that too. > > Thoughts? This is something that should work, period. It should be a showcase for the code we ship because it shows how serious we take data integrity (backups/restore etc...). +1 for turning it into something irrefutably as close to perfect as humans can produce. Sincerely, JD -- Command Prompt, Inc. - http://www.commandprompt.com/ 503-667-4564 PostgreSQL Centered full stack support, consulting and development. Announcing "I'm offended" is basically telling the world you can't control your own emotions, so everyone else should do it for you. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers