Re: Trace for postgreSQL - Mailing list pgsql-sql

From Andrew Sullivan
Subject Re: Trace for postgreSQL
Date
Msg-id 20040217133527.GF6363@phlogiston.dyndns.org
Whole thread Raw
In response to Trace for postgreSQL  (beyaNet Consultancy <beyanet@ntlworld.com>)
List pgsql-sql
On Tue, Feb 10, 2004 at 12:04:42PM +0000, beyaNet Consultancy wrote:
> Hi,
> can anyone tell me whether there is a trace facility (application) 
> available for postgreSQL version 7.4.1 which will enable me to see all 
> incoming requests being made to the database (ala SQL Server)?

Sure.  Alter your configuration to echo queries, and then watch your
log file.  Alternatively, you can enable the command string
statistics function, and then you get the queries in near to real
time in pg_stat_activity.

A

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
The plural of anecdote is not data.    --Roger Brinner


pgsql-sql by date:

Previous
From: Karsten Hilbert
Date:
Subject: Re: Tip: a function for creating a remote view using dblink
Next
From: Jan Wieck
Date:
Subject: Re: Unique Constraint with foreign Key