Re: backward SQL query - Mailing list pgsql-sql

From Karel Zak
Subject Re: backward SQL query
Date
Msg-id 20020228125502.B20893@zf.jcu.cz
Whole thread Raw
In response to backward SQL query  ("Jan Oravec" <oravecja@intrak.tuke.sk>)
List pgsql-sql
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 exampledebug_print_query.
Or may be you can try postmaster "-d" option.
More information:http://docs.linux.cz/PostgreSQL/runtime-config.html#LOGGING
       Karel
-- Karel Zak  <zakkr@zf.jcu.cz>http://home.zf.jcu.cz/~zakkr/C, PostgreSQL, PHP, WWW, http://docs.linux.cz,
http://mape.jcu.cz


pgsql-sql by date:

Previous
From: "Jan Oravec"
Date:
Subject: backward SQL query
Next
From: TimothyReaves@westfieldgrp.com
Date:
Subject: Re: How slow is DISTINCT?