pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andy Shellam (Mailing Lists) <andy.shellam-lists@mailnetwork.co.uk>
To: Ray Stell <stellr@cns.vt.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: log_duration?
Date: Mon, 19 Feb 2007 16:39:39 +0000
Message-ID: <45D9D2CB.1040600@mailnetwork.co.uk> (raw)
In-Reply-To: <20070219161937.GA7927@cns.vt.edu>
References: <20070219161937.GA7927@cns.vt.edu>

Ray Stell wrote:
> I toggle log_duration:
>
> wiki=# \!date
> Mon Feb 19 11:14:35 EST 2007
> wiki=#  set log_duration=off;
> SET
> wiki=# SELECT current_setting('log_duration');
>  current_setting
> -----------------
>  off
> (1 row)
>
> yet duration continues to be logged:
>
> wiki,13190,wiki,2007-02-19 11:16:00.926 EST,45d94f9e.3386,36108,2007-02-19 02:19:58 EST,270828,BIND LOG:  duration: 0.034 ms
> wiki,13190,wiki,2007-02-19 11:16:00.929 EST,45d94f9e.3386,36109,2007-02-19 02:19:58 EST,0,COMMIT LOG:  duration: 2.840 ms
>
> do I have to bounce to get it set?  Thx.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>
> !DSPAM:37,45d9d01c18514452914812!
>
>
>   
Probably best to restart Postgres, yes.  I've observed logging functions 
to not take effect without a restart.

Andy.

view thread (9+ messages)  latest in thread

Message-ID: <45D9D2CB.1040600@mailnetwork.co.uk>
Permalink:  ../45D9D2CB.1040600@mailnetwork.co.uk/
Also on:    postgresql.org/message-id/45D9D2CB.1040600@mailnetwork.co.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: andy.shellam-lists@mailnetwork.co.uk, stellr@cns.vt.edu
  Subject: Re: log_duration?
  In-Reply-To: <45D9D2CB.1040600@mailnetwork.co.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox