Re: flood in logs - Mailing list pgsql-general

From Tom Lane
Subject Re: flood in logs
Date
Msg-id 23922.1223643522@sss.pgh.pa.us
Whole thread Raw
In response to Re: flood in logs  (hubert depesz lubaczewski <depesz@depesz.com>)
List pgsql-general
hubert depesz lubaczewski <depesz@depesz.com> writes:
> On Fri, Oct 10, 2008 at 08:42:02AM -0400, Tom Lane wrote:
>> Mph, so it's an omission in the log_statement code.  You must have
>> log_statement set to mod or ddl on this machine.

> yes. it's ddl. and on the machine that doesn't print the warning - it's
> "none".

Right, we don't bother to call GetCommandLogLevel if the setting is ALL
or NONE, so the oversight isn't exposed by default.

> so, for now i think it's better to set it to 'none' - and wait for
> new release with fix?

Either that or patch it locally.

I wonder if there are any other omissions in that function...

            regards, tom lane

pgsql-general by date:

Previous
From: "Serge Fonville"
Date:
Subject: Socket error instead of Access denied
Next
From: "Serge Fonville"
Date:
Subject: Fwd: Socket error instead of Access denied