Re: Reg: Logging log_min_duration_statement

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Reg: Logging log_min_duration_statement
Date: 2009-04-22 15:45:25
Message-ID: 20090422154522.GA23884@a-kretschmer.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In response to S Arvind :
> I set log_min_duration_statement to 10000 and restart the postgres. But when
> i check the tail to log i am getting all queries. please tell is it bug ?
> i have log_statement = all . is there any relation between this and
> min_duaration?

log_statement = all loggs _all_ statements, but
log_min_duration_statement loggs only statements with a duraton time
more than the parameter (ms).

Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Christine Penner 2009-04-22 15:57:25 Error installing Postgres
Previous Message Scott Mead 2009-04-22 15:43:09 Re: Reg: Logging log_min_duration_statement