Re: [PATCH] log_statement docs - Mailing list pgsql-docs

From Bruce Momjian
Subject Re: [PATCH] log_statement docs
Date
Msg-id 201002251847.o1PIl3h23647@momjian.us
Whole thread Raw
In response to Re: [PATCH] log_statement docs  (gabrielle <gorthx@gmail.com>)
Responses Re: [PATCH] log_statement docs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-docs
gabrielle wrote:
> On Wed, Feb 24, 2010 at 7:14 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > gabrielle <gorthx@gmail.com> 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  <bruce@momjian.us>        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. +

pgsql-docs by date:

Previous
From: gabrielle
Date:
Subject: Re: [PATCH] log_statement docs
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] log_statement docs