From: Rajesh Kumar Mallah <mallah@trade-india.com>
To: Jan Oravec <oravecja@intrak.tuke.sk>
Cc: pgsql-sql@postgresql.org
Subject: Re: backward SQL query
Date: Thu, 28 Feb 2002 21:11:10 +0530
Message-ID: <3C7E4F96.622A82C4@trade-india.com> (raw)
References: <3C7E15BF.000003.01684@elvin.intrak.tuke.sk>
<20020228125502.B20893@zf.jcu.cz>
in 7.2 PGSQL you can do select * from pg_stat_activity ;
provided you have enable statistics collection.
regds
Mallah.
Karel Zak wrote:
> On Thu, Feb 28, 2002 at 12:34:23PM +0100, Jan Oravec wrote:
> >
> > I have WEB aplication, whitch browse some data from database.
> > Can anybody tell me how I can know, which SQL query was used for display
> > this data, without know source of aplication, whitch use it and when I'm
> > administrator of this database. I want it use for control which data are
> > correct and whitch not.
>
> See your $(PGDATA)/potgresql.conf and debug_* options, an example
> debug_print_query.
>
> Or may be you can try postmaster "-d" option.
>
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: mallah@trade-india.com, oravecja@intrak.tuke.sk
Subject: Re: backward SQL query
In-Reply-To: <3C7E4F96.622A82C4@trade-india.com>
* 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