Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 6E690637FCD for ; Thu, 25 Feb 2010 15:11:19 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 45368-04-5 for ; Thu, 25 Feb 2010 19:11:08 +0000 (UTC) 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 mail.postgresql.org (Postfix) with ESMTP id AFB846335F8 for ; Thu, 25 Feb 2010 15:08:00 -0400 (AST) 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 o1PJ7vjF007495; Thu, 25 Feb 2010 14:07:57 -0500 (EST) To: Bruce Momjian cc: gabrielle , pgsql-docs@postgresql.org Subject: Re: [PATCH] log_statement docs In-reply-to: <201002251847.o1PIl3h23647@momjian.us> References: <201002251847.o1PIl3h23647@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Thu, 25 Feb 2010 13:47:03 -0500" Date: Thu, 25 Feb 2010 14:07:57 -0500 Message-ID: <7494.1267124877@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201002/44 X-Sequence-Number: 5360 Bruce Momjian writes: > gabrielle wrote: >> On Wed, Feb 24, 2010 at 7:14 PM, Tom Lane wrote: >>> 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. Yeah. My objection was not to documenting ALL, it was to documenting it with exactly that sentence, which seems both needlessly complicated and subject to errors of omission. regards, tom lane