From: Simon Riggs <simon@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: log_duration
Date: Fri, 4 Feb 2005 16:12:31 -0800
Message-ID: <KGEFLMPJFBNNLNOOOPLGIEGHCIAA.simon@2ndquadrant.com> (raw)
In-Reply-To: <17884.1107555067@sss.pgh.pa.us>
> From: Tom Lane
> "Simon Riggs" <simon@2ndquadrant.com> writes:
> > On top of a confusing day, I now have this:
> > I set log_duration = true in a postgresql.conf file.
> > I startup and test, local users connected via psql:
> working, no problem.
> > Users connecting remotely, same user, same database: no log of query
> > statement durations.
> > There is nothing in the code that sets this value
> independently for sets
> > of users (is there?)
>
> No. How sure are you that the remote users are really
> connecting to the
> same postmaster?
Yes, very definitely.
I'm sitting here watching the Statement: lines scroll up the screen for
the remotely connected users.
Local sessions show both Statement: and Duration:
Can't see anything in the code that gives any kind of conditional on
that.
The code is straight 8.0.1, no code editing, but compiled on SUSE.
I wouldn't care, but I'm trying to tune the database, so the missing
data matters,
Best Regards, Simon Riggs
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: simon@2ndquadrant.com, tgl@sss.pgh.pa.us
Subject: Re: log_duration
In-Reply-To: <KGEFLMPJFBNNLNOOOPLGIEGHCIAA.simon@2ndquadrant.com>
References: <17884.1107555067@sss.pgh.pa.us> <KGEFLMPJFBNNLNOOOPLGIEGHCIAA.simon@2ndquadrant.com>
* 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