Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6LR2-0000kv-Tr for pgsql-hackers@arkaria.postgresql.org; Fri, 27 May 2016 17:20:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b6LR1-0007B8-CP for pgsql-hackers@arkaria.postgresql.org; Fri, 27 May 2016 17:20:31 +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 1b6LQz-00079Z-BG for pgsql-hackers@postgresql.org; Fri, 27 May 2016 17:20:29 +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 1b6LQv-0006Z3-UE for pgsql-hackers@postgresql.org; Fri, 27 May 2016 17:20:28 +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 u4RHKKq4014604; Fri, 27 May 2016 13:20:21 -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: <20160526.152559.266074794.horiguchi.kyotaro@lab.ntt.co.jp> References: <20160525.173041.123092921.horiguchi.kyotaro@lab.ntt.co.jp> <24577.1464185488@sss.pgh.pa.us> <20160526.105701.64908801.horiguchi.kyotaro@lab.ntt.co.jp> <20160526.152559.266074794.horiguchi.kyotaro@lab.ntt.co.jp> Comments: In-reply-to Kyotaro HORIGUCHI message dated "Thu, 26 May 2016 15:25:59 +0900" Date: Fri, 27 May 2016 13:20:20 -0400 Message-ID: <14603.1464369620@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: > By the way, the reason of the "invalid snapshot identifier" is > that some worker threads try to use it after the connection on > the first worker closed. ... BTW, I don't quite see what the issue is there. The snapshot is exported from the master session, so errors in worker sessions should not cause such failures in other workers. And I don't see any such failure when setting up a scenario that will cause a worker to fail on Linux. The "invalid snapshot identifier" bleats would make sense if you had gotten a server-side error (and transaction abort) in the master session, but I don't see any evidence that that happened in that example. Might be worth seeing if that's reproducible. 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