pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tena Sakai <tsakai@gallo.ucsf.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: current_query column of pg_stat_activity view
Date: Mon, 14 Jan 2008 21:02:04 -0500
Message-ID: <10686.1200362524@sss.pgh.pa.us> (raw)
In-Reply-To: <FE44E0D7EAD2ED4BB2165071DB8E328C0378EFF8@egcrc-ex01.egcrc.org>
References: <FE44E0D7EAD2ED4BB2165071DB8E328C0378EFF8@egcrc-ex01.egcrc.org>

"Tena Sakai" <tsakai@gallo.ucsf.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



view thread (2+ messages)

Message-ID: <10686.1200362524@sss.pgh.pa.us>
Permalink:  ../10686.1200362524@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10686.1200362524@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, tsakai@gallo.ucsf.edu
  Subject: Re: current_query column of pg_stat_activity view
  In-Reply-To: <10686.1200362524@sss.pgh.pa.us>

* 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