Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bDB3F-00065w-Tt for pgsql-hackers@arkaria.postgresql.org; Wed, 15 Jun 2016 13:40: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 1bDB3F-0002bZ-GJ for pgsql-hackers@arkaria.postgresql.org; Wed, 15 Jun 2016 13:40:13 +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 1bDB3E-0002XS-CK for pgsql-hackers@postgresql.org; Wed, 15 Jun 2016 13:40:12 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bDB3B-0004iF-NA for pgsql-hackers@postgresql.org; Wed, 15 Jun 2016 13:40:11 +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 u5FDe6k9016819; Wed, 15 Jun 2016 09:40:06 -0400 From: Tom Lane To: Bernd Helmle cc: pgsql-hackers@postgresql.org Subject: Re: pg_dump vs. idle_in_transaction_session_timeout In-reply-to: <352F9B77DB5D3082578D17BB@eje.land.credativ.lan> References: <352F9B77DB5D3082578D17BB@eje.land.credativ.lan> Comments: In-reply-to Bernd Helmle message dated "Wed, 15 Jun 2016 11:27:39 +0200" Date: Wed, 15 Jun 2016 09:40:06 -0400 Message-ID: <16818.1465998006@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 Bernd Helmle writes: > Currently pg_dump doesn't turn off idle_in_transaction_session_timeout. Definitely an oversight, since it turns off other timeout settings. > Okay, the window of failure here is very narrow (on my machine it breaks > with an insane setting of 1ms only), Probably if you were using parallel dump or restore, it could be a lot more fragile, since an individual worker session might have nothing to do for some period of time. Will fix if no one beats me to it. 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