Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 08271632FAF for ; Thu, 25 Feb 2010 14:47:17 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 92129-08 for ; Thu, 25 Feb 2010 18:47:04 +0000 (UTC) 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 F24E1632E94 for ; Thu, 25 Feb 2010 14:47:05 -0400 (AST) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id o1PIl3h23647; Thu, 25 Feb 2010 13:47:03 -0500 (EST) From: Bruce Momjian Message-Id: <201002251847.o1PIl3h23647@momjian.us> Subject: Re: [PATCH] log_statement docs In-Reply-To: <48bb92b1002250921k3a1ae0a0xab26038ccaae089d@mail.gmail.com> To: gabrielle Date: Thu, 25 Feb 2010 13:47:03 -0500 (EST) CC: Tom Lane , pgsql-docs@postgresql.org X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.376 tagged_above=-10 required=5 tests=AWL=0.223, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201002/43 X-Sequence-Number: 5359 gabrielle wrote: > On Wed, Feb 24, 2010 at 7:14 PM, Tom Lane wrote: > > gabrielle writes: > >> Patch amends description of log_statement to include definition of "all" option. > > > > Shouldn't it just say "all means all", if we think that needs to be > > explained? > > I think it should say something about the "all" option. I read & > re-read that section trying to figure out what the difference between > "mod" and "all" was, and finally asked on the irc channel. As it > stands, it essentially says "there are three options to this command, > but we're only going to tell you about two of them." :) Well, if you take a look at utility.c:GetCommandLogLevel() you will see that ALL includes a lot more commands than just SELECT. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com PG East: http://www.enterprisedb.com/community/nav-pg-east-2010.do + If your life is a hard drive, Christ can be your backup. +