Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 5A50764FDC5 for ; Tue, 14 Oct 2008 09:57:50 -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 28190-02 for ; Tue, 14 Oct 2008 09:57:40 -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 8EACB64FD9F for ; Tue, 14 Oct 2008 09:57:14 -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 m9ECuufb020725; Tue, 14 Oct 2008 08:56:56 -0400 (EDT) To: "Martin A. Brooks" cc: Vladimir Rusinov , pgsql-admin@postgresql.org Subject: Re: postgres seems to ignore log_min_duration_statement In-reply-to: <48F48709.1050103@antibodymx.net> References: <48F46514.1070203@antibodymx.net> <48F48709.1050103@antibodymx.net> Comments: In-reply-to "Martin A. Brooks" message dated "Tue, 14 Oct 2008 12:48:25 +0100" Date: Tue, 14 Oct 2008 08:56:56 -0400 Message-ID: <20724.1223989016@sss.pgh.pa.us> From: Tom Lane 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/101 X-Sequence-Number: 30557 "Martin A. Brooks" writes: > I don't explicitly set that parameter in my config. The full config > file can be found at http://www.antibodymx.net/postgresql.conf You've got log_duration on; that overrides log_min_duration_statement and forces statement durations to always be logged. (No, I'm not quite sure why we have both variables ...) regards, tom lane