Re: log_min_duration_statement oddity

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Csaba Nagy <nagy(at)ecircle-ag(dot)com>
Cc: Postgres general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: log_min_duration_statement oddity
Date: 2005-10-19 15:46:28
Message-ID: 22132.1129736788@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Csaba Nagy <nagy(at)ecircle-ag(dot)com> writes:
> I wonder if I understood correctly what log_min_duration_statement
> does... I set it to 2000, and the result is that all queries running
> more than 2 seconds on _local_ connections are logged, but long running
> queries on remote connections are not logged.

I can't reproduce that. Sure you've diagnosed the problem correctly?
It seems highly unlikely that the source of the connection would have
anything to do with it. User or database could (eg, perhaps there's
a user-specific setting of log_min_duration_statement).

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Csaba Nagy 2005-10-19 16:01:23 Re: log_min_duration_statement oddity
Previous Message Chris Browne 2005-10-19 15:40:22 Re: Oracle buys Innobase