Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 862E264FD2A for ; Tue, 14 Oct 2008 08:25:36 -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 09464-01 for ; Tue, 14 Oct 2008 08:25:29 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from fish.clues.ltd.uk (fish.clues.ltd.uk [80.68.93.86]) by postgresql.org (Postfix) with ESMTP id F0EAF64FD25 for ; Tue, 14 Oct 2008 08:25:28 -0300 (ADT) Received: from fish.clues.ltd.uk ([80.68.93.86] helo=[127.0.0.1]) by fish.clues.ltd.uk with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Kpi1m-0007Wo-3E; Tue, 14 Oct 2008 12:25:26 +0100 Message-ID: <48F481F0.9050206@antibodymx.net> Date: Tue, 14 Oct 2008 12:26:40 +0100 From: "Martin A. Brooks" User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: Guillaume Lelarge CC: pgsql-admin@postgresql.org Subject: Re: postgres seems to ignore log_min_duration_statement References: <48F46514.1070203@antibodymx.net> <48F4710A.1030609@lelarge.info> <48F474CB.3060302@antibodymx.net> <48F48086.1030001@lelarge.info> In-Reply-To: <48F48086.1030001@lelarge.info> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200810/98 X-Sequence-Number: 30554 Guillaume Lelarge wrote: > Martin A. Brooks a écrit : > >> I _want_ the stats, however I _only_ want the stats for queries taking >> over 5 seconds. >> >> > > Well, AFAIK, you can't. > Then that would seem to entirely negate the point of having the log_min_duration_statement option, from what I can see in the docs. -- Martin A. Brooks | http://www.antibodymx.net/ | Anti-spam & anti-virus Consultant | martin@antibodymx.net | filtering. Inoculate antibodymx.net | m: +447792493388 | your mail system.