Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 71077650EC2 for ; Thu, 3 Jul 2008 12:35:59 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 03344-08 for ; Thu, 3 Jul 2008 12:35:39 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 6AE05650EFB for ; Thu, 3 Jul 2008 12:33:31 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m63FXGSs003002; Thu, 3 Jul 2008 11:33:17 -0400 (EDT) To: daveg cc: Marko Kreen , pgsql-patches@postgresql.org, hari@efrontier.com, Postgres Hackers Subject: Re: [PATCHES] pg_dump lock timeout In-reply-to: <20080703125501.GS866@sonic.net> References: <20080511113047.GV5673@sonic.net> <20080703125501.GS866@sonic.net> Comments: In-reply-to daveg message dated "Thu, 03 Jul 2008 05:55:01 -0700" Date: Thu, 03 Jul 2008 11:33:16 -0400 Message-ID: <3001.1215099196@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200807/164 X-Sequence-Number: 120424 daveg writes: > On Thu, Jul 03, 2008 at 11:15:10AM +0300, Marko Kreen wrote: >> - The statement_timeout is set back with "statement_timeout = default" >> Maybe it would be better to do "= 0" here? Although such decision >> would go outside the scope of the patch, I see no sense having >> any other statement_timeout for actual dumping. > I'd prefer to leave whatever policy is otherwise in place alone. The policy in place in CVS HEAD is that pg_dump explicitly sets statement_timeout to 0. Setting it to default would break that, and will certainly not be accepted. regards, tom lane