From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-sql@postgresql.org
Subject: Re: Trace for postgreSQL
Date: Tue, 17 Feb 2004 08:35:27 -0500
Message-ID: <20040217133527.GF6363@phlogiston.dyndns.org> (raw)
In-Reply-To: <4F6ABED0-5BC1-11D8-B55E-0003938366A4@ntlworld.com>
References: <4F6ABED0-5BC1-11D8-B55E-0003938366A4@ntlworld.com>
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
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-sql@postgresql.org
Cc: ajs@crankycanuck.ca
Subject: Re: Trace for postgreSQL
In-Reply-To: <20040217133527.GF6363@phlogiston.dyndns.org>
* 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