Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id D87CE634029 for ; Mon, 6 Apr 2009 16:01:20 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 35573-03 for ; Mon, 6 Apr 2009 16:01:13 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from momjian.us (momjian.us [70.90.9.53]) by mail.postgresql.org (Postfix) with ESMTP id A6C8A634277 for ; Mon, 6 Apr 2009 16:01:16 -0300 (ADT) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id n36J1Hq27744 for pgsql-docs@postgresql.org; Mon, 6 Apr 2009 15:01:17 -0400 (EDT) From: Bruce Momjian Message-Id: <200904061901.n36J1Hq27744@momjian.us> Subject: log_min_duration_statement units To: PostgreSQL-documentation Date: Mon, 6 Apr 2009 15:01:17 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ELM1239044477-22280-2_" Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.058 tagged_above=0 required=5 tests=AWL=0.058 X-Spam-Level: X-Archive-Number: 200904/7 X-Sequence-Number: 5095 --ELM1239044477-22280-2_ Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" Someone complained that the default units for log_min_duration_statement was not mentioned in postgresql.conf; this applied patch fixes that. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + If your life is a hard drive, Christ can be your backup. + --ELM1239044477-22280-2_ Content-Transfer-Encoding: 7bit Content-Type: text/x-diff Content-Disposition: inline; filename="/rtmp/diff" Index: src/backend/utils/misc/postgresql.conf.sample =================================================================== RCS file: /cvsroot/pgsql/src/backend/utils/misc/postgresql.conf.sample,v retrieving revision 1.255 diff -c -c -r1.255 postgresql.conf.sample *** src/backend/utils/misc/postgresql.conf.sample 6 Apr 2009 18:40:47 -0000 1.255 --- src/backend/utils/misc/postgresql.conf.sample 6 Apr 2009 18:58:02 -0000 *************** *** 306,312 **** # fatal # panic (effectively off) ! #log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements # and their durations, > 0 logs only # statements running at least this time. --- 306,312 ---- # fatal # panic (effectively off) ! #log_min_duration_statement = -1ms # -1 is disabled, 0 logs all statements # and their durations, > 0 logs only # statements running at least this time. --ELM1239044477-22280-2_--