Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b5QG8-0008VK-Ow for pgsql-hackers@arkaria.postgresql.org; Wed, 25 May 2016 04:17:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b5QG8-0001pb-BU for pgsql-hackers@arkaria.postgresql.org; Wed, 25 May 2016 04:17:28 +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 1b5QEl-0007xe-S6 for pgsql-hackers@postgresql.org; Wed, 25 May 2016 04:16:03 +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 1b5QEj-000526-12 for pgsql-hackers@postgresql.org; Wed, 25 May 2016 04:16:03 +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 u4P4Fv3D003150; Wed, 25 May 2016 00:15:57 -0400 From: Tom Lane To: Kyotaro HORIGUCHI cc: pgsql-hackers@postgresql.org Subject: Re: Parallel pg_dump's error reporting doesn't work worth squat In-reply-to: <20160525.130137.175160263.horiguchi.kyotaro@lab.ntt.co.jp> References: <2458.1450894615@sss.pgh.pa.us> <24048.1463265913@sss.pgh.pa.us> <1336.1464025230@sss.pgh.pa.us> <20160525.130137.175160263.horiguchi.kyotaro@lab.ntt.co.jp> Comments: In-reply-to Kyotaro HORIGUCHI message dated "Wed, 25 May 2016 13:01:37 +0900" Date: Wed, 25 May 2016 00:15:57 -0400 Message-ID: <3149.1464149757@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 Kyotaro HORIGUCHI writes: > Shouldn't archive_close_connection have an assertion (si->AHX != > NULL) instead of checking "if (si->AHX)" in each path? I thought about that but didn't see any really good argument for it. It'd be making that function dependent on the current behavior of unrelated code, when it doesn't need to be. 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