Re: current_query column of pg_stat_activity view

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: current_query column of pg_stat_activity view
Date: 2008-01-15 02:02:04
Message-ID: 10686.1200362524@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu> writes:
> I have an application that emits query to postgres
> (running v 8.2.4 on Dell Hardware/Redhat enterprise
> server) and I want to look at what postgres receives.

Turn on query logging (log_statement)?

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Thomas Markus 2008-01-15 09:33:32 update performance 8.1.4
Previous Message Tena Sakai 2008-01-15 01:35:07 current_query column of pg_stat_activity view